mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Null terminate code properly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11797 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
d089035653
commit
b8138fcba9
@ -313,11 +313,7 @@ gnc_plugin_set_important_actions (GtkActionGroup *action_group,
|
|||||||
|
|
||||||
for (i = 0; name[i]; i++) {
|
for (i = 0; name[i]; i++) {
|
||||||
action = gtk_action_group_get_action (action_group, name[i]);
|
action = gtk_action_group_get_action (action_group, name[i]);
|
||||||
#ifdef HAVE_GOFFICE
|
g_object_set (G_OBJECT(action), "is_important", TRUE, NULL);
|
||||||
g_object_set (G_OBJECT(action), "is_important", TRUE, FALSE, NULL);
|
|
||||||
#else
|
|
||||||
g_object_set (G_OBJECT(action), "is_important", TRUE, FALSE);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If this trips, you've got too many "important" actions. That
|
/* If this trips, you've got too many "important" actions. That
|
||||||
|
Loading…
Reference in New Issue
Block a user