SOURCES: xchat-gnome-ex-crash.patch (NEW) - added
aredridel
aredridel at pld-linux.org
Sat Jun 11 18:30:09 CEST 2005
Author: aredridel Date: Sat Jun 11 16:30:09 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- added
---- Files affected:
SOURCES:
xchat-gnome-ex-crash.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/xchat-gnome-ex-crash.patch
diff -u /dev/null SOURCES/xchat-gnome-ex-crash.patch:1.1
--- /dev/null Sat Jun 11 18:30:09 2005
+++ SOURCES/xchat-gnome-ex-crash.patch Sat Jun 11 18:30:04 2005
@@ -0,0 +1,25 @@
+diff -ur xchat-gnome-0.4-o/src/fe-gnome/navigation-tree.c xchat-gnome-0.4/src/fe-gnome/navigation-tree.c
+--- xchat-gnome-0.4-o/src/fe-gnome/navigation-tree.c 2005-05-13 18:15:29.000000000 -0600
++++ xchat-gnome-0.4/src/fe-gnome/navigation-tree.c 2005-06-11 10:23:06.000000000 -0600
+@@ -1227,15 +1227,17 @@
+ navigation_model_path_deref (NavModel * model, GtkTreePath * path)
+ {
+ gint ref_count;
++ gboolean worked;
+ GtkTreeIter iter;
+ GtkTreePath *unsorted = gtk_tree_model_sort_convert_path_to_child_path (GTK_TREE_MODEL_SORT (model->sorted),
+ path);
+
+- gtk_tree_model_get_iter (GTK_TREE_MODEL (model->store), &iter, unsorted);
+- gtk_tree_model_get (GTK_TREE_MODEL (model->store), &iter, 5, &ref_count, -1);
++ if(gtk_tree_model_get_iter (GTK_TREE_MODEL (model->store), &iter, unsorted)) {
++ gtk_tree_model_get (GTK_TREE_MODEL (model->store), &iter, 5, &ref_count, -1);
+
+- if (ref_count > 0)
+- gtk_tree_store_set (model->store, &iter, 5, ref_count - 1, -1);
++ if (ref_count > 0)
++ gtk_tree_store_set (model->store, &iter, 5, ref_count - 1, -1);
++ }
+
+ gtk_tree_path_free (unsorted);
+ }
================================================================
More information about the pld-cvs-commit
mailing list