GtkColorChooserDialog: propagate notification for ::show-editor

This commit is contained in:
Matthias Clasen 2012-02-08 21:54:55 -05:00
parent 05e2124f24
commit 1f05f94885

View File

@ -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);