[gnome-panel] status-notifier: bind property to correct object



commit 5ba46408a50e62480eeabfb2b51e247d5144f9e6
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sat Jan 9 19:20:26 2016 +0200

    status-notifier: bind property to correct object

 applets/status-notifier/sn-applet.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/applets/status-notifier/sn-applet.c b/applets/status-notifier/sn-applet.c
index 18b891b..65cdc93 100644
--- a/applets/status-notifier/sn-applet.c
+++ b/applets/status-notifier/sn-applet.c
@@ -91,7 +91,7 @@ item_added_cb (SnHost   *host,
   gtk_box_pack_start (GTK_BOX (applet->box), button, FALSE, FALSE, 0);
   gtk_widget_show (button);
 
-  g_object_bind_property (applet->box, "orientation", item, "orientation",
+  g_object_bind_property (applet->box, "orientation", button, "orientation",
                           G_BINDING_DEFAULT);
 
   gtk_container_foreach (GTK_CONTAINER (applet->box), reorder_items, applet);


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