Removed code that caused an endless loop.

* gtk/testgtk.c (unselect_all): Removed code that caused an
	endless loop.
This commit is contained in:
Stefan Jeske 1998-05-06 08:22:31 +00:00
parent 518a8a9c4e
commit 1afc96a702
9 changed files with 37 additions and 32 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -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);
}

View File

@ -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);
}