[file-roller] use the 'popup' property instead of 'menu'
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] use the 'popup' property instead of 'menu'
- Date: Sun, 28 Apr 2013 07:48:56 +0000 (UTC)
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]