forked from AuroraMiddleware/gtk
Removed code that caused an endless loop.
* gtk/testgtk.c (unselect_all): Removed code that caused an endless loop.
This commit is contained in:
parent
518a8a9c4e
commit
1afc96a702
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user