mirror of https://github.com/GNOME/gimp.git
app/actions/file-actions.c (file_actions_setup) use "" instead of NULL for
2006-02-20 Michael Natterer <mitch@gimp.org> * app/actions/file-actions.c (file_actions_setup) * app/actions/plug-in-actions.c (plug_in_actions_setup): use "" instead of NULL for "no label" on an action (we can't rely on the stock item to provide the label that prevents the gtk warning from firing).
This commit is contained in:
parent
b6d61922f6
commit
1efcc1bfb7
|
@ -1,3 +1,11 @@
|
|||
2006-02-20 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/actions/file-actions.c (file_actions_setup)
|
||||
* app/actions/plug-in-actions.c (plug_in_actions_setup): use ""
|
||||
instead of NULL for "no label" on an action (we can't rely on the
|
||||
stock item to provide the label that prevents the gtk warning from
|
||||
firing).
|
||||
|
||||
2006-02-20 Karine Delvare <kdelvare@nerim.net>
|
||||
|
||||
* app/tools/gimprectangletool.c: zero division check should be
|
||||
|
|
|
@ -147,7 +147,7 @@ file_actions_setup (GimpActionGroup *group)
|
|||
entries[i].name = g_strdup_printf ("file-open-recent-%02d",
|
||||
i + 1);
|
||||
entries[i].stock_id = GTK_STOCK_OPEN;
|
||||
entries[i].label = NULL;
|
||||
entries[i].label = "";
|
||||
entries[i].tooltip = NULL;
|
||||
entries[i].value = i;
|
||||
entries[i].value_variable = FALSE;
|
||||
|
|
|
@ -156,7 +156,7 @@ plug_in_actions_setup (GimpActionGroup *group)
|
|||
entries[i].name = g_strdup_printf ("plug-in-recent-%02d",
|
||||
i + 1);
|
||||
entries[i].stock_id = GIMP_STOCK_RESHOW_FILTER;
|
||||
entries[i].label = NULL;
|
||||
entries[i].label = "";
|
||||
entries[i].tooltip = NULL;
|
||||
entries[i].value = i;
|
||||
entries[i].value_variable = FALSE;
|
||||
|
|
Loading…
Reference in New Issue