]> git.pld-linux.org Git - packages/xchat-gnome.git/commitdiff
- added
authoraredridel <aredridel@pld-linux.org>
Sat, 11 Jun 2005 16:30:04 +0000 (16:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xchat-gnome-ex-crash.patch -> 1.1

xchat-gnome-ex-crash.patch [new file with mode: 0644]

diff --git a/xchat-gnome-ex-crash.patch b/xchat-gnome-ex-crash.patch
new file mode 100644 (file)
index 0000000..bfbe68c
--- /dev/null
@@ -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);
+ }
This page took 0.076527 seconds and 4 git commands to generate.