bail out if widgets/gimpaction.group.h has not been included beforehand.

2005-03-21  Sven Neumann  <sven@gimp.org>

	* app/actions/dialogs-actions.h: bail out if
	widgets/gimpaction.group.h has not been included beforehand.

	* app/actions/actions.c: include widgets/gimpaction.group.h. Fixes
	build with amd64/gcc-4.0 (Debian bug report #300227).
This commit is contained in:
Sven Neumann
2005-03-21 21:18:20 +00:00
committed by Sven Neumann
parent 3c5d71da83
commit 123133ec57
3 changed files with 14 additions and 0 deletions

View File

@ -20,6 +20,11 @@
#define __DIALOGS_ACTIONS_H__
/* this check is needed for the extern declaration below to be correct */
#ifndef __GIMP_ACTION_GROUP_H__
#error "widgets/gimpactiongroup.h must be included prior to dialog-actions.h"
#endif
extern GimpStringActionEntry dialogs_dockable_actions[];
extern gint n_dialogs_dockable_actions;