Don't chain up blindly

svn path=/trunk/; revision=22240
This commit is contained in:
Matthias Clasen 2009-01-27 14:59:53 +00:00
parent 9e061166b2
commit 8626d2ffa9
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-01-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktogglebutton.c: Don't chain the clicked handler
up unconditionally.
2009-01-27 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version

View File

@ -502,7 +502,8 @@ gtk_toggle_button_clicked (GtkButton *button)
g_object_notify (G_OBJECT (toggle_button), "active");
GTK_BUTTON_CLASS (gtk_toggle_button_parent_class)->clicked (button);
if (GTK_BUTTON_CLASS (gtk_toggle_button_parent_class)->clicked)
GTK_BUTTON_CLASS (gtk_toggle_button_parent_class)->clicked (button);
}
static void