+1998-05-06 Stefan Jeske <stefan@gtk.org>
+
+ * gtk/testgtk.c (unselect_all): Removed code that caused an
+ endless loop.
+
Wed May 6 02:16:34 1998 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c: reimplemented the signal storage system to use a
+1998-05-06 Stefan Jeske <stefan@gtk.org>
+
+ * gtk/testgtk.c (unselect_all): Removed code that caused an
+ endless loop.
+
Wed May 6 02:16:34 1998 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c: reimplemented the signal storage system to use a
+1998-05-06 Stefan Jeske <stefan@gtk.org>
+
+ * gtk/testgtk.c (unselect_all): Removed code that caused an
+ endless loop.
+
Wed May 6 02:16:34 1998 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c: reimplemented the signal storage system to use a
+1998-05-06 Stefan Jeske <stefan@gtk.org>
+
+ * gtk/testgtk.c (unselect_all): Removed code that caused an
+ endless loop.
+
Wed May 6 02:16:34 1998 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c: reimplemented the signal storage system to use a
+1998-05-06 Stefan Jeske <stefan@gtk.org>
+
+ * gtk/testgtk.c (unselect_all): Removed code that caused an
+ endless loop.
+
Wed May 6 02:16:34 1998 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c: reimplemented the signal storage system to use a
+1998-05-06 Stefan Jeske <stefan@gtk.org>
+
+ * gtk/testgtk.c (unselect_all): Removed code that caused an
+ endless loop.
+
Wed May 6 02:16:34 1998 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c: reimplemented the signal storage system to use a
+1998-05-06 Stefan Jeske <stefan@gtk.org>
+
+ * gtk/testgtk.c (unselect_all): Removed code that caused an
+ endless loop.
+
Wed May 6 02:16:34 1998 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c: reimplemented the signal storage system to use a
void select_all (GtkWidget *widget, GtkCTree *ctree)
{
- if (GTK_CLIST (ctree)->selection_mode != GTK_SELECTION_MULTIPLE)
- return;
gtk_ctree_select_recursive (ctree, NULL);
after_press (ctree, NULL);
}
void unselect_all (GtkWidget *widget, GtkCTree *ctree)
{
- GList *work;
- GList *ptr;
-
- if (GTK_CLIST (ctree)->selection_mode == GTK_SELECTION_BROWSE)
- return;
-
- work = GTK_CLIST (ctree)->selection;
-
- while (work)
- {
- ptr = work->data;
- work = work->next;
- gtk_ctree_unselect (ctree, ptr);
- }
+ gtk_ctree_unselect_recursive (ctree, NULL);
after_press (ctree, NULL);
}
void select_all (GtkWidget *widget, GtkCTree *ctree)
{
- if (GTK_CLIST (ctree)->selection_mode != GTK_SELECTION_MULTIPLE)
- return;
gtk_ctree_select_recursive (ctree, NULL);
after_press (ctree, NULL);
}
void unselect_all (GtkWidget *widget, GtkCTree *ctree)
{
- GList *work;
- GList *ptr;
-
- if (GTK_CLIST (ctree)->selection_mode == GTK_SELECTION_BROWSE)
- return;
-
- work = GTK_CLIST (ctree)->selection;
-
- while (work)
- {
- ptr = work->data;
- work = work->next;
- gtk_ctree_unselect (ctree, ptr);
- }
+ gtk_ctree_unselect_recursive (ctree, NULL);
after_press (ctree, NULL);
}