diff -r 26a7edb3cc75 -r 7ff3669b196e pidgin/gtkutils.c --- a/pidgin/gtkutils.c Mon Mar 17 14:35:33 2008 +0000 +++ b/pidgin/gtkutils.c Mon Mar 17 14:39:03 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 }