[gtk+] colorbutton: Don't notify nonexistent properties



commit 9f47b43f7cfb66e6616e4bc31fd8d629790c787e
Author: Timm Bäder <mail baedert org>
Date:   Sat Oct 22 21:47:12 2016 +0200

    colorbutton: Don't notify nonexistent properties

 gtk/gtkcolorbutton.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkcolorbutton.c b/gtk/gtkcolorbutton.c
index a0a442d..8bab7e0 100644
--- a/gtk/gtkcolorbutton.c
+++ b/gtk/gtkcolorbutton.c
@@ -282,8 +282,6 @@ gtk_color_button_drag_data_received (GtkWidget        *widget,
   g_signal_emit (button, color_button_signals[COLOR_SET], 0);
 
   g_object_freeze_notify (G_OBJECT (button));
-  g_object_notify (G_OBJECT (button), "color");
-  g_object_notify (G_OBJECT (button), "alpha");
   g_object_notify (G_OBJECT (button), "rgba");
   g_object_thaw_notify (G_OBJECT (button));
 }
@@ -472,8 +470,6 @@ dialog_response (GtkDialog *dialog,
       g_signal_emit (button, color_button_signals[COLOR_SET], 0);
 
       g_object_freeze_notify (G_OBJECT (button));
-      g_object_notify (G_OBJECT (button), "color");
-      g_object_notify (G_OBJECT (button), "alpha");
       g_object_notify (G_OBJECT (button), "rgba");
       g_object_thaw_notify (G_OBJECT (button));
       g_object_unref (button);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]