2005-10-24  Jens Granseuer <jensgr@gmx.net>

	Fixes #318746

	* gnome-mouse-properties.c (populate_tree_model): gcc 2.95 compilation
	fixes.
This commit is contained in:
Jens Granseuer 2005-10-24 10:12:09 +00:00 committed by Rodrigo Moya
parent 4c13b49727
commit 962e2d3bb0
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2005-10-24 Jens Granseuer <jensgr@gmx.net>
Fixes #318746
* gnome-mouse-properties.c (populate_tree_model): gcc 2.95 compilation
fixes.
2005-09-16 Sebastien Bacher <seb128@debian.org>
* gnome-mouse-properties.c: (populate_tree_model):

View file

@ -662,6 +662,7 @@ populate_tree_model(GtkTreeModelSort* model, GtkTreeSelection* selection) {
"/usr/X11R6/lib/X11/icons/",
NULL
};
const gchar *xpaths = g_getenv ("XCURSOR_PATH");
gchar **iterator = NULL;
gchar **paths = NULL;
@ -673,8 +674,6 @@ populate_tree_model(GtkTreeModelSort* model, GtkTreeSelection* selection) {
g_object_unref(client);
client = NULL;
const gchar *xpaths = g_getenv ("XCURSOR_PATH");
if (xpaths != NULL) {
paths = g_strsplit (xpaths, ":", 0);
} else {