Commit 1afc96a7 authored by Stefan Jeske's avatar Stefan Jeske

Removed code that caused an endless loop.

	* gtk/testgtk.c (unselect_all): Removed code that caused an
	endless loop.
parent 518a8a9c
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
......
......@@ -3636,28 +3636,13 @@ void collapse_all (GtkWidget *widget, GtkCTree *ctree)
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);
}
......
......@@ -3636,28 +3636,13 @@ void collapse_all (GtkWidget *widget, GtkCTree *ctree)
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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment