diff options
-rw-r--r-- | sysutils/gnome-control-center/files/patch-capplets_mouse_gnome-mouse-properties.c | 21 | ||||
-rw-r--r-- | sysutils/gnomecontrolcenter2/files/patch-capplets_mouse_gnome-mouse-properties.c | 21 |
2 files changed, 42 insertions, 0 deletions
diff --git a/sysutils/gnome-control-center/files/patch-capplets_mouse_gnome-mouse-properties.c b/sysutils/gnome-control-center/files/patch-capplets_mouse_gnome-mouse-properties.c new file mode 100644 index 000000000..32c81dfde --- /dev/null +++ b/sysutils/gnome-control-center/files/patch-capplets_mouse_gnome-mouse-properties.c @@ -0,0 +1,21 @@ +--- capplets/mouse/gnome-mouse-properties.c.orig Mon Sep 5 17:05:46 2005 ++++ capplets/mouse/gnome-mouse-properties.c Mon Sep 5 17:06:23 2005 +@@ -658,7 +658,8 @@ + + gchar **iterator = NULL; + gchar **paths = NULL; +- ++ const gchar *xpaths; ++ + GConfClient* client = gconf_client_get_default(); + GtkListStore* store = GTK_LIST_STORE(gtk_tree_model_sort_get_model(model)); + gchar* current_theme = gconf_client_get_string(client, CURSOR_THEME_KEY, NULL); +@@ -666,7 +667,7 @@ + g_object_unref(client); + client = NULL; + +- const gchar *xpaths = g_getenv ("XCURSOR_PATH"); ++ xpaths = g_getenv ("XCURSOR_PATH"); + + if (xpaths != NULL) { + paths = g_strsplit (xpaths, ":", 0); diff --git a/sysutils/gnomecontrolcenter2/files/patch-capplets_mouse_gnome-mouse-properties.c b/sysutils/gnomecontrolcenter2/files/patch-capplets_mouse_gnome-mouse-properties.c new file mode 100644 index 000000000..32c81dfde --- /dev/null +++ b/sysutils/gnomecontrolcenter2/files/patch-capplets_mouse_gnome-mouse-properties.c @@ -0,0 +1,21 @@ +--- capplets/mouse/gnome-mouse-properties.c.orig Mon Sep 5 17:05:46 2005 ++++ capplets/mouse/gnome-mouse-properties.c Mon Sep 5 17:06:23 2005 +@@ -658,7 +658,8 @@ + + gchar **iterator = NULL; + gchar **paths = NULL; +- ++ const gchar *xpaths; ++ + GConfClient* client = gconf_client_get_default(); + GtkListStore* store = GTK_LIST_STORE(gtk_tree_model_sort_get_model(model)); + gchar* current_theme = gconf_client_get_string(client, CURSOR_THEME_KEY, NULL); +@@ -666,7 +667,7 @@ + g_object_unref(client); + client = NULL; + +- const gchar *xpaths = g_getenv ("XCURSOR_PATH"); ++ xpaths = g_getenv ("XCURSOR_PATH"); + + if (xpaths != NULL) { + paths = g_strsplit (xpaths, ":", 0); |