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 | 4b7c263fb31b68a59e52f44cc2907a125b7d9d2b (patch) | |
tree | 0dc5efcd212a8c7c708c70b90045f6df48f880d2 /shell | |
parent | 6412ba57b3759d78a3cce05a985e7ce1f084667e (diff) |
remove dead code
Diffstat (limited to 'shell')
-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 b914cfcb7b5c..5fe39ea2dc3a 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 */ |