From b8138fcba91a1921f84839dc35d24d807578e36a Mon Sep 17 00:00:00 2001 From: David Hampton Date: Thu, 3 Nov 2005 00:47:13 +0000 Subject: [PATCH] Null terminate code properly. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11797 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/gnome-utils/gnc-plugin.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/gnome-utils/gnc-plugin.c b/src/gnome-utils/gnc-plugin.c index 7992b0d508..77b309eac0 100644 --- a/src/gnome-utils/gnc-plugin.c +++ b/src/gnome-utils/gnc-plugin.c @@ -313,11 +313,7 @@ gnc_plugin_set_important_actions (GtkActionGroup *action_group, for (i = 0; name[i]; i++) { action = gtk_action_group_get_action (action_group, name[i]); -#ifdef HAVE_GOFFICE - g_object_set (G_OBJECT(action), "is_important", TRUE, FALSE, NULL); -#else - g_object_set (G_OBJECT(action), "is_important", TRUE, FALSE); -#endif + g_object_set (G_OBJECT(action), "is_important", TRUE, NULL); } /* If this trips, you've got too many "important" actions. That