]> git.0d.be Git - empathy.git/commitdiff
don't use gtk_window_present_with_time if timestamp == GDK_CURRENT_TIME (#629922)
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 20 Sep 2010 11:36:03 +0000 (13:36 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 27 Sep 2010 13:32:06 +0000 (15:32 +0200)
libempathy-gtk/empathy-ui-utils.c

index d07ea459d09af2a5629b9d226069fb6101b80501..4014f92b59020b81a70e94d12169bd81c76ba01a 100644 (file)
@@ -1606,7 +1606,11 @@ empathy_window_present_with_time (GtkWindow *window,
                        gtk_widget_hide (GTK_WIDGET (window));
        }
 
-       gtk_window_present_with_time (window, timestamp);
+       if (timestamp == GDK_CURRENT_TIME)
+               gtk_window_present (window);
+       else
+               gtk_window_present_with_time (window, timestamp);
+
        gtk_window_set_skip_taskbar_hint (window, FALSE);
        gtk_window_deiconify (window);
 }