summaryrefslogtreecommitdiff
path: root/gtk/gtktogglebutton.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtktogglebutton.c')
-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