[empathy: 9/16] No longer need to dig out the X time ourselves
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 9/16] No longer need to dig out the X time ourselves
- Date: Tue, 4 May 2010 12:23:09 +0000 (UTC)
commit 9e34e6de9a81e02929cfc65d771a4da6eb348df6
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date: Sat Apr 24 18:06:48 2010 +0100
No longer need to dig out the X time ourselves
libempathy-gtk/empathy-ui-utils.c | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 70098ad..2f06ae9 100644
--- a/libempathy-gtk/empathy-ui-utils.c
+++ b/libempathy-gtk/empathy-ui-utils.c
@@ -1417,20 +1417,6 @@ empathy_window_present_with_time (GtkWindow *window,
gtk_widget_hide (GTK_WIDGET (window));
}
- timestamp = gtk_get_current_event_time ();
- if (timestamp == 0 && gdk_window != NULL) {
- GdkEventMask mask;
-
- /* According to the documentation of gdk_x11_get_server_time
- * GDK_PROPERTY_CHANGE_MASK needs to be set in its events otherwise a hang
- * can occur. Be sure to at least temporarily set this mask */
- mask = gdk_window_get_events (gdk_window);
- gdk_window_set_events (gdk_window,
- mask | GDK_PROPERTY_CHANGE_MASK);
- timestamp = gdk_x11_get_server_time (gdk_window);
- gdk_window_set_events (gdk_window, mask);
- }
-
gtk_window_present_with_time (window, timestamp);
gtk_window_set_skip_taskbar_hint (window, FALSE);
gtk_window_deiconify (window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]