[Gnucash-changes] r11797 - gnucash/trunk/src/gnome-utils - Null terminate code properly.

David Hampton hampton at cvs.gnucash.org
Wed Nov 2 19:47:14 EST 2005


Author: hampton
Date: 2005-11-02 19:47:13 -0500 (Wed, 02 Nov 2005)
New Revision: 11797

Modified:
   gnucash/trunk/src/gnome-utils/gnc-plugin.c
Log:
Null terminate code properly.

Modified: gnucash/trunk/src/gnome-utils/gnc-plugin.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-plugin.c	2005-11-02 22:42:33 UTC (rev 11796)
+++ gnucash/trunk/src/gnome-utils/gnc-plugin.c	2005-11-03 00:47:13 UTC (rev 11797)
@@ -313,11 +313,7 @@
 
   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



More information about the gnucash-changes mailing list