From 63c26d5712c807f65db9c1b0c98ca06aad76171a Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 27 Mar 2011 17:58:32 -0400 Subject: Miscellaneous GtkAction-related cleanups. Prefer the newer GtkAction "set" functions over g_object_set(). --- modules/addressbook/e-book-shell-view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/addressbook') diff --git a/modules/addressbook/e-book-shell-view.c b/modules/addressbook/e-book-shell-view.c index 4f0d349ba6..3a325b0786 100644 --- a/modules/addressbook/e-book-shell-view.c +++ b/modules/addressbook/e-book-shell-view.c @@ -345,7 +345,7 @@ book_shell_view_update_actions (EShellView *shell_view) label = _("_Forward Contacts"); else label = _("_Forward Contact"); - g_object_set (action, "label", label, NULL); + gtk_action_set_label (action, label); action = ACTION (CONTACT_MOVE); sensitive = source_is_editable && any_contacts_selected; @@ -380,7 +380,7 @@ book_shell_view_update_actions (EShellView *shell_view) label = _("_Send Message to List"); else label = _("_Send Message to Contact"); - g_object_set (action, "label", label, NULL); + gtk_action_set_label (action, label); } static void -- cgit v1.2.3