summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominique Leuenberger <dimstar@opensuse.org>2010-09-28 21:00:04 +0200
committerSam Spilsbury <smspillaz@gmail.com>2010-09-29 03:00:13 +0800
commit0f9f1cdb8f03cef37643c636cbfc3897e61657f7 (patch)
treea19be79bc6388c3d3cee0f60f8849060fc65cb15
parent532ef5f9b72406d63798db050d3dfdfd45888c62 (diff)
downloadunity-window-decorator-0f9f1cdb8f03cef37643c636cbfc3897e61657f7.tar.gz
unity-window-decorator-0f9f1cdb8f03cef37643c636cbfc3897e61657f7.tar.bz2
Do not use gdk_display, it's deprecated (one more place it was missed).
-rw-r--r--gtk/window-decorator/forcequit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/window-decorator/forcequit.c b/gtk/window-decorator/forcequit.c
index 7a5cde0..93ed2f0 100644
--- a/gtk/window-decorator/forcequit.c
+++ b/gtk/window-decorator/forcequit.c
@@ -77,7 +77,7 @@ force_quit_dialog_realize (GtkWidget *dialog,
WnckWindow *win = data;
gdk_error_trap_push ();
- XSetTransientForHint (gdk_display,
+ XSetTransientForHint (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()),
GDK_WINDOW_XID (dialog->window),
wnck_window_get_xid (win));
gdk_display_sync (gdk_display_get_default ());