please the compiler.

2003-08-18  Sven Neumann  <sven@gimp.org>

	* app/gui/dialogs-menu.c: please the compiler.
This commit is contained in:
Sven Neumann
2003-08-18 18:11:29 +00:00
committed by Sven Neumann
parent db2db08fb4
commit 90fce1cc62
2 changed files with 12 additions and 8 deletions

View File

@ -1,3 +1,7 @@
2003-08-18 Sven Neumann <sven@gimp.org>
* app/gui/dialogs-menu.c: please the compiler.
2003-08-18 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/brush_select.pdb

View File

@ -236,11 +236,11 @@ dialogs_menu_update (GtkItemFactory *factory,
tab_style = dockable->tab_style;
#define SET_ACTIVE(path,active) \
gimp_item_factory_set_active (factory, (path), (active))
gimp_item_factory_set_active (factory, (path), (active) != 0)
#define SET_VISIBLE(path,active) \
gimp_item_factory_set_visible (factory, (path), (active))
gimp_item_factory_set_visible (factory, (path), (active) != 0)
#define SET_SENSITIVE(path,sensitive) \
gimp_item_factory_set_sensitive (factory, (path), (sensitive))
gimp_item_factory_set_sensitive (factory, (path), (sensitive) != 0)
SET_VISIBLE ("/Preview Size", preview_size != -1);