diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2009-01-27 14:59:53 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2009-01-27 14:59:53 +0000 |
commit | 8626d2ffa9cefca3774c8d11d3cf84889bc9db34 (patch) | |
tree | 4f4b0269308b47d41a65592a6a1d3c6f5dcc395c /gtk | |
parent | 9e061166b2be8262644ffccf80e3e1e204ec97de (diff) | |
download | gtk+-8626d2ffa9cefca3774c8d11d3cf84889bc9db34.tar.gz |
Don't chain up blindly
svn path=/trunk/; revision=22240
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtktogglebutton.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtktogglebutton.c b/gtk/gtktogglebutton.c index 88f22fbf0c..de6bb053e2 100644 --- a/gtk/gtktogglebutton.c +++ b/gtk/gtktogglebutton.c @@ -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 |