summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2009-01-27 14:59:53 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2009-01-27 14:59:53 +0000
commit8626d2ffa9cefca3774c8d11d3cf84889bc9db34 (patch)
tree4f4b0269308b47d41a65592a6a1d3c6f5dcc395c /gtk
parent9e061166b2be8262644ffccf80e3e1e204ec97de (diff)
downloadgtk+-8626d2ffa9cefca3774c8d11d3cf84889bc9db34.tar.gz
Don't chain up blindly
svn path=/trunk/; revision=22240
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtktogglebutton.c3
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