summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-16 20:00:46 +0200
committerinfirit <[email protected]>2014-05-16 20:00:46 +0200
commit754805fd9153815bb4af4544db68e93af49ddf80 (patch)
tree6e41577757b6a90e399755869f7436039030bd39
parentf06a44bcb24ab5ec6e18998255c09ac635a40552 (diff)
downloadmate-panel-754805fd9153815bb4af4544db68e93af49ddf80.tar.bz2
mate-panel-754805fd9153815bb4af4544db68e93af49ddf80.tar.xz
Use gdk_x11_window_lookup_for_display also in gtk+2
-rw-r--r--mate-panel/panel-force-quit.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mate-panel/panel-force-quit.c b/mate-panel/panel-force-quit.c
index 34fd8ee2..b4498aeb 100644
--- a/mate-panel/panel-force-quit.c
+++ b/mate-panel/panel-force-quit.c
@@ -255,11 +255,7 @@ handle_button_press_event (GtkWidget *popup,
window = find_managed_window (event->display, event->subwindow);
if (window != None) {
-#if GTK_CHECK_VERSION (3, 0, 0)
if (!gdk_x11_window_lookup_for_display (gdk_x11_lookup_xdisplay (event->display), window))
-#else
- if (!gdk_xid_table_lookup_for_display (gdk_x11_lookup_xdisplay (event->display), window))
-#endif
kill_window_question ((gpointer) window);
}
}