removed debugging output, added #warning about runtime version check that

2004-05-04  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpfiledialog.c: removed debugging output, added
	#warning about runtime version check that can be removed as soon
	as we depend on GTK+ 2.4.1.
This commit is contained in:
Michael Natterer 2004-05-04 15:09:53 +00:00 committed by Michael Natterer
parent 6b55a849a2
commit 90438eaaae
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2004-05-04 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpfiledialog.c: removed debugging output, added
#warning about runtime version check that can be removed as soon
as we depend on GTK+ 2.4.1.
2004-05-04 Michael Natterer <mitch@gimp.org>
* app/actions/file-dialog-actions.c (file_dialog_actions_setup):

View File

@ -390,6 +390,9 @@ gimp_file_dialog_selection_changed (GtkFileChooser *chooser,
{
GSList *uris = gtk_file_chooser_get_uris (chooser);
#ifdef __GNUC__
#warning FIXME: remove version check as soon as we depend on GTK+ 2.4.1
#endif
if (gtk_check_version (2, 4, 1))
{
if (uris)
@ -407,8 +410,6 @@ gimp_file_dialog_update_preview (GtkFileChooser *chooser,
{
gchar *uri = gtk_file_chooser_get_preview_uri (chooser);
g_printerr ("gimp_file_dialog_update_preview: %s\n", uri);
gimp_thumb_box_set_uri (GIMP_THUMB_BOX (dialog->thumb_box), uri);
g_free (uri);