[file-roller] use the 'popup' property instead of 'menu'



commit 750f96017c50a1a34a6048dd14fcc2db08193d81
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Apr 28 09:38:58 2013 +0200

    use the 'popup' property instead of 'menu'

 src/gth-menu-button.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gth-menu-button.c b/src/gth-menu-button.c
index d08213d..544b9b0 100644
--- a/src/gth-menu-button.c
+++ b/src/gth-menu-button.c
@@ -380,7 +380,7 @@ gth_menu_button_set_menu (GthMenuButton *self,
        g_return_if_fail (GTH_IS_MENU_BUTTON (self));
        g_return_if_fail (GTK_IS_MENU (menu) || menu == NULL);
 
-       g_object_set (self, "menu", menu, NULL);
+       g_object_set (self, "popup", menu, NULL);
 }
 
 
@@ -391,7 +391,7 @@ gth_menu_button_get_menu (GthMenuButton *self)
 
        g_return_val_if_fail (GTH_IS_MENU_BUTTON (self), NULL);
 
-       g_object_get (self, "menu", &menu, NULL);
+       g_object_get (self, "popup", &menu, NULL);
 
        return menu;
 }


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