mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 05:20:17 +00:00
set radio_menu_item->group to NULL after removing it from the list, as it
2001-09-21 Matt Wilson <msw@redhat.com> * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_destroy): set radio_menu_item->group to NULL after removing it from the list, as it is no longer in the group. (#60869) * gtk/gtkradiobutton.c (gtk_radio_button_destroy): likewise
This commit is contained in:
parent
85b433515b
commit
65c0e1fe51
@ -1,3 +1,11 @@
|
||||
2001-09-21 Matt Wilson <msw@redhat.com>
|
||||
|
||||
* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_destroy): set
|
||||
radio_menu_item->group to NULL after removing it from the list, as
|
||||
it is no longer in the group. (#60869)
|
||||
|
||||
* gtk/gtkradiobutton.c (gtk_radio_button_destroy): likewise
|
||||
|
||||
2001-09-20 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* configure.in (PANGO_REQUIRED_VERSION)
|
||||
|
@ -1,3 +1,11 @@
|
||||
2001-09-21 Matt Wilson <msw@redhat.com>
|
||||
|
||||
* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_destroy): set
|
||||
radio_menu_item->group to NULL after removing it from the list, as
|
||||
it is no longer in the group. (#60869)
|
||||
|
||||
* gtk/gtkradiobutton.c (gtk_radio_button_destroy): likewise
|
||||
|
||||
2001-09-20 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* configure.in (PANGO_REQUIRED_VERSION)
|
||||
|
@ -1,3 +1,11 @@
|
||||
2001-09-21 Matt Wilson <msw@redhat.com>
|
||||
|
||||
* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_destroy): set
|
||||
radio_menu_item->group to NULL after removing it from the list, as
|
||||
it is no longer in the group. (#60869)
|
||||
|
||||
* gtk/gtkradiobutton.c (gtk_radio_button_destroy): likewise
|
||||
|
||||
2001-09-20 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* configure.in (PANGO_REQUIRED_VERSION)
|
||||
|
@ -1,3 +1,11 @@
|
||||
2001-09-21 Matt Wilson <msw@redhat.com>
|
||||
|
||||
* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_destroy): set
|
||||
radio_menu_item->group to NULL after removing it from the list, as
|
||||
it is no longer in the group. (#60869)
|
||||
|
||||
* gtk/gtkradiobutton.c (gtk_radio_button_destroy): likewise
|
||||
|
||||
2001-09-20 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* configure.in (PANGO_REQUIRED_VERSION)
|
||||
|
@ -1,3 +1,11 @@
|
||||
2001-09-21 Matt Wilson <msw@redhat.com>
|
||||
|
||||
* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_destroy): set
|
||||
radio_menu_item->group to NULL after removing it from the list, as
|
||||
it is no longer in the group. (#60869)
|
||||
|
||||
* gtk/gtkradiobutton.c (gtk_radio_button_destroy): likewise
|
||||
|
||||
2001-09-20 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* configure.in (PANGO_REQUIRED_VERSION)
|
||||
|
@ -1,3 +1,11 @@
|
||||
2001-09-21 Matt Wilson <msw@redhat.com>
|
||||
|
||||
* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_destroy): set
|
||||
radio_menu_item->group to NULL after removing it from the list, as
|
||||
it is no longer in the group. (#60869)
|
||||
|
||||
* gtk/gtkradiobutton.c (gtk_radio_button_destroy): likewise
|
||||
|
||||
2001-09-20 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* configure.in (PANGO_REQUIRED_VERSION)
|
||||
|
@ -1,3 +1,11 @@
|
||||
2001-09-21 Matt Wilson <msw@redhat.com>
|
||||
|
||||
* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_destroy): set
|
||||
radio_menu_item->group to NULL after removing it from the list, as
|
||||
it is no longer in the group. (#60869)
|
||||
|
||||
* gtk/gtkradiobutton.c (gtk_radio_button_destroy): likewise
|
||||
|
||||
2001-09-20 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* configure.in (PANGO_REQUIRED_VERSION)
|
||||
|
@ -323,6 +323,9 @@ gtk_radio_button_destroy (GtkObject *object)
|
||||
tmp_button->group = radio_button->group;
|
||||
}
|
||||
|
||||
/* this button is no longer in the group */
|
||||
radio_button->group = NULL;
|
||||
|
||||
if (GTK_OBJECT_CLASS (parent_class)->destroy)
|
||||
(* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
|
||||
}
|
||||
|
@ -226,6 +226,9 @@ gtk_radio_menu_item_destroy (GtkObject *object)
|
||||
tmp_menu_item->group = radio_menu_item->group;
|
||||
}
|
||||
|
||||
/* this radio menu item is no longer in the group */
|
||||
radio_menu_item->group = NULL;
|
||||
|
||||
if (GTK_OBJECT_CLASS (parent_class)->destroy)
|
||||
(* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user