diff --git a/ChangeLog b/ChangeLog index 1af3e298d8..0764e6a2d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2006-02-20 Michael Natterer + + * 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 * app/tools/gimprectangletool.c: zero division check should be diff --git a/app/actions/file-actions.c b/app/actions/file-actions.c index 88197a9308..777f5e18cb 100644 --- a/app/actions/file-actions.c +++ b/app/actions/file-actions.c @@ -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; diff --git a/app/actions/plug-in-actions.c b/app/actions/plug-in-actions.c index 3a4a717553..e0ddec7920 100644 --- a/app/actions/plug-in-actions.c +++ b/app/actions/plug-in-actions.c @@ -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;