[gtk+/gtk-3-2] color-button: Notify "color" and "alpha" properties when changing the rgba
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-2] color-button: Notify "color" and "alpha" properties when changing the rgba
- Date: Mon, 12 Dec 2011 15:11:20 +0000 (UTC)
commit 47a321f5f2de636d5cc2feb93161b4266fc24107
Author: Christian Persch <chpe gnome org>
Date: Mon Nov 21 14:19:51 2011 +0100
color-button: Notify "color" and "alpha" properties when changing the rgba
Bug #664469.
gtk/gtkcolorbutton.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcolorbutton.c b/gtk/gtkcolorbutton.c
index 5f13c54..7494565 100644
--- a/gtk/gtkcolorbutton.c
+++ b/gtk/gtkcolorbutton.c
@@ -791,6 +791,8 @@ gtk_color_button_set_rgba (GtkColorButton *color_button,
gtk_widget_queue_draw (color_button->priv->draw_area);
+ g_object_notify (G_OBJECT (color_button), "color");
+ g_object_notify (G_OBJECT (color_button), "alpha");
g_object_notify (G_OBJECT (color_button), "rgba");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]