diff options
author | David Tardon <dtardon@redhat.com> | 2011-05-17 14:34:14 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-05-18 06:05:44 +0200 |
commit | dda7650cff35f0f61e8580b2350d2096226326fd (patch) | |
tree | cb3822b5609272e89f5632c8b3e8239d4e2e4147 | |
parent | 156afda4b662b054a0cb0c0f6391cf0c000c9d59 (diff) |
remove dead code
-rwxr-xr-x | shell/source/unix/misc/gnome-open-url.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/shell/source/unix/misc/gnome-open-url.c b/shell/source/unix/misc/gnome-open-url.c index 0c3058da7c..eaf134ba96 100755 --- a/shell/source/unix/misc/gnome-open-url.c +++ b/shell/source/unix/misc/gnome-open-url.c @@ -47,28 +47,6 @@ typedef enum { GNOME_VFS_OK } GnomeVFSResult; - -/* - * HACK: avoid error messages caused by not setting a GNOME program name - */ - -gchar* gnome_gconf_get_gnome_libs_settings_relative (const gchar *subkey) -{ - void* handle = dlopen("libglib-2.0.so.0", RTLD_LAZY); - - (void)subkey; /* avoid warning due to unused parameter */ - - if( NULL != handle ) - { - gchar* (* g_strdup)(const gchar*) = (gchar* (*)(const gchar*)) dlsym(handle, "g_strdup"); - - if( NULL != g_strdup) - return g_strdup("/apps/gnome-settings/gnome-open-url"); - } - - return NULL; -} - /* * Wrapper function which extracs gnome_url_show from libgnome */ |