2007-07-18 [paul] 2.10.0cvs38
[claws.git] / src / gtk / gtkutils.c
index 13b3e12b1164022cd52664d41d313a3c9d8f31c1..792667e407cc747bc629ddf10b6bdaba9d36332e 100644 (file)
@@ -757,7 +757,11 @@ void gtkut_window_popup(GtkWidget *window)
                gdk_window_move(window->window, new_x, new_y);
 
        gtk_window_set_skip_taskbar_hint(GTK_WINDOW(window), FALSE);
+#if GTK_CHECK_VERSION(2,8,0)
        gtk_window_present_with_time(GTK_WINDOW(window), time(NULL));
+#else
+       gtk_window_present(GTK_WINDOW(window));
+#endif
 }
 
 void gtkut_widget_get_uposition(GtkWidget *widget, gint *px, gint *py)