mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 14:30:15 +00:00
GtkColorChooserDialog: propagate notification for ::show-editor
This commit is contained in:
parent
05e2124f24
commit
1f05f94885
@ -68,7 +68,7 @@ propagate_notify (GObject *o,
|
|||||||
GParamSpec *pspec,
|
GParamSpec *pspec,
|
||||||
GtkColorChooserDialog *cc)
|
GtkColorChooserDialog *cc)
|
||||||
{
|
{
|
||||||
g_object_notify (G_OBJECT (cc), "rgba");
|
g_object_notify (G_OBJECT (cc), pspec->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -113,6 +113,9 @@ gtk_color_chooser_dialog_init (GtkColorChooserDialog *cc)
|
|||||||
g_signal_connect (priv->chooser, "notify::rgba",
|
g_signal_connect (priv->chooser, "notify::rgba",
|
||||||
G_CALLBACK (propagate_notify), cc);
|
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_signal_connect (priv->chooser, "color-activated",
|
||||||
G_CALLBACK (color_activated_cb), cc);
|
G_CALLBACK (color_activated_cb), cc);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user