aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/kf/files/patch-src__muc_join.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/kf/files/patch-src__muc_join.c')
-rw-r--r--net-im/kf/files/patch-src__muc_join.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/net-im/kf/files/patch-src__muc_join.c b/net-im/kf/files/patch-src__muc_join.c
new file mode 100644
index 00000000000..5c5380ed0a0
--- /dev/null
+++ b/net-im/kf/files/patch-src__muc_join.c
@@ -0,0 +1,25 @@
+--- src/muc_join.c.orig Thu Nov 24 23:39:22 2005
++++ src/muc_join.c Thu Nov 24 23:40:29 2005
+@@ -294,6 +294,9 @@
+ GtkTreeIter iter;
+ GtkTreeModel *model;
+ gint n_selected;
++ GList *list;
++ GtkTreePath *path;
++ KfPrefMUCBookmark *bookmark;
+
+ n_selected = gtk_tree_selection_count_selected_rows (selection);
+ self->multiple = (n_selected > 1);
+@@ -303,10 +306,9 @@
+
+ if (n_selected == 1) {
+ // if (gtk_tree_selection_get_selected (selection, &model, &iter)) {
+- GList *list = gtk_tree_selection_get_selected_rows (selection, &model);
+- GtkTreePath *path = list->data;
++ list = gtk_tree_selection_get_selected_rows (selection, &model);
++ path = list->data;
+ gtk_tree_model_get_iter (model, &iter, path);
+- KfPrefMUCBookmark *bookmark;
+ gtk_tree_model_get (model, &iter, 0, &bookmark, -1);
+
+ if (bookmark->server)