pop up a warning dialog if the GTK+ version is < 2.2.2. Forgot to commit

2003-08-13  Michael Natterer  <mitch@gimp.org>

	* app/gui/gui.c (gui_restore): pop up a warning dialog if the
	GTK+ version is < 2.2.2. Forgot to commit this at GimpCon...
This commit is contained in:
Michael Natterer 2003-08-13 17:23:49 +00:00 committed by Michael Natterer
parent be0998d95e
commit dc5b68bddc
2 changed files with 22 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-08-13 Michael Natterer <mitch@gimp.org>
* app/gui/gui.c (gui_restore): pop up a warning dialog if the
GTK+ version is < 2.2.2. Forgot to commit this at GimpCon...
2003-08-13 Jakub Steiner <jimmac@ximian.com>
* ./data/images/gimp_splash.png: new post-cccamp splash
@ -22,6 +27,7 @@
changes from July which caused GIF-loading bogosity.
2003-08-12 Ville Pätsi <drc@gimp.org>
* gimp.spec.in: Disable separate debug packages
2003-08-12 Henrik Brix Andersen <brix@gimp.org>
@ -88,13 +94,16 @@
* NEWS: Updated NEWS file for 1.3.18.
2003-08-10 Ville Pätsi <drc@gimp.org>
* gimp.spec.in: Revert package name change. Causes too much trouble.
2003-08-10 Ville Pätsi <drc@gimp.org>
* gimp.spec.in: Changed package name from gimp to gimp1.3, to
keep combatibility with GIMP 1.2 packages.
2003-08-10 Ville Pätsi <drc@gimp.org>
* configure.in: Added gimp.spec.
* gimp.spec.in: Brought up to date.

View File

@ -141,7 +141,7 @@ gui_libs_init (gint *argc,
gui_get_background_func);
g_type_class_ref (GIMP_TYPE_COLOR_SELECT);
return TRUE;
}
@ -338,6 +338,18 @@ gui_restore (Gimp *gimp,
g_signal_connect_after (gimp, "exit",
G_CALLBACK (gui_exit_finish_callback),
NULL);
#ifdef __GNUC__
#warning FIXME: remove this as soon as we depend on GTK+ >= 2.2.2
#endif
if (! GTK_CHECK_VERSION (2, 2, 2))
gimp_message_box (GIMP_STOCK_WILBER_EEK, NULL,
"Please upgrade your GTK+ installation!\n\n"
"The GTK+ version you are using is too old.\n"
"Please upgrade to GTK+ version 2.2.2 or better\n"
"or your extended input devices (tablets) will\n"
"not work at all!",
NULL, NULL);
}
void