summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-05-17 14:34:14 +0200
committerDavid Tardon <dtardon@redhat.com>2011-05-18 06:05:44 +0200
commitdda7650cff35f0f61e8580b2350d2096226326fd (patch)
treecb3822b5609272e89f5632c8b3e8239d4e2e4147
parent156afda4b662b054a0cb0c0f6391cf0c000c9d59 (diff)
remove dead code
-rwxr-xr-xshell/source/unix/misc/gnome-open-url.c22
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
*/