changeset 22504:a65a76072f31

merge of '058ee765cda4210b0bbd2e709b93a6e8bd956b21' and 'ff7de32106917f9d86c4f37b364c0fecd453c2ed'
author Stu Tomlinson <stu@nosnilmot.com>
date Mon, 17 Mar 2008 14:43:28 +0000
parents d536700e73e1 (diff) 566a805a5bd4 (current diff)
children 22fef6b952a0
files
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkutils.c	Mon Mar 17 14:43:07 2008 +0000
+++ b/pidgin/gtkutils.c	Mon Mar 17 14:43:28 2008 +0000
@@ -3413,6 +3413,7 @@
 	return FALSE;
 #endif
 #else
+#if GTK_CHECK_VERSION(2,4,0)
 	/* This finds the currently active window and makes that the parent window. */
 	GList *windows = NULL;
 	GtkWidget *parent = NULL;
@@ -3455,6 +3456,7 @@
 		gtk_window_set_transient_for(GTK_WINDOW(widget), GTK_WINDOW(parent));
 		return TRUE;
 	}
+#endif
 	return FALSE;
 #endif
 }