[Xfce4-commits] [panel-plugins/xfce4-clipman-plugin] 21/28: Replace exo-binding with g_object_bind_property

noreply at xfce.org noreply at xfce.org
Thu May 19 20:06:23 CEST 2016


This is an automated email from the git hooks/post-receive script.

ochosi pushed a commit to branch master
in repository panel-plugins/xfce4-clipman-plugin.

commit b675fc849d2b6989cecf4af125734498f79e1601
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Mon May 16 19:05:03 2016 +0200

    Replace exo-binding with g_object_bind_property
---
 panel-plugin/menu.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/panel-plugin/menu.c b/panel-plugin/menu.c
index fa6b49a..ca8725a 100644
--- a/panel-plugin/menu.c
+++ b/panel-plugin/menu.c
@@ -237,7 +237,9 @@ cb_clear_history (ClipmanMenu *menu)
       {
         GtkWidget *content_area = gtk_message_dialog_get_message_area (GTK_MESSAGE_DIALOG (dialog));
         GtkWidget *checkbox = gtk_check_button_new_with_label (_("Don't ask again"));
-        //exo_binding_new (G_OBJECT (checkbox), "active", G_OBJECT (menu), "never-confirm-history-clear");
+        g_object_bind_property(G_OBJECT (checkbox), "active",
+                               G_OBJECT (menu), "never-confirm-history-clear",
+                               G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL);
         gtk_widget_show (checkbox);
         gtk_container_add (GTK_CONTAINER (content_area), checkbox);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list