From 1f05f94885e3776b7bfadd7c4ff51eeb3bc9b6cf Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 8 Feb 2012 21:54:55 -0500 Subject: [PATCH] GtkColorChooserDialog: propagate notification for ::show-editor --- gtk/gtkcolorchooserdialog.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk/gtkcolorchooserdialog.c b/gtk/gtkcolorchooserdialog.c index bb40067c71..2d9070f840 100644 --- a/gtk/gtkcolorchooserdialog.c +++ b/gtk/gtkcolorchooserdialog.c @@ -68,7 +68,7 @@ propagate_notify (GObject *o, GParamSpec *pspec, GtkColorChooserDialog *cc) { - g_object_notify (G_OBJECT (cc), "rgba"); + g_object_notify (G_OBJECT (cc), pspec->name); } static void @@ -113,6 +113,9 @@ gtk_color_chooser_dialog_init (GtkColorChooserDialog *cc) g_signal_connect (priv->chooser, "notify::rgba", G_CALLBACK (propagate_notify), cc); + g_signal_connect (priv->chooser, "notify::show-editor", + G_CALLBACK (propagate_notify), cc); + g_signal_connect (priv->chooser, "color-activated", G_CALLBACK (color_activated_cb), cc);