diff options
author | Perberos <[email protected]> | 2011-12-08 04:01:38 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-12-08 04:01:38 -0300 |
commit | 8e68aa4f36fd333cb4f3c65efd7b0525a793299e (patch) | |
tree | 98c5d74fabbd6035f29be806b5230f9d11e0d9ed /typing-break/drw-selection.c | |
parent | c9b0659767febba8b1852c3c5726d55983c22e28 (diff) | |
download | mate-control-center-8e68aa4f36fd333cb4f3c65efd7b0525a793299e.tar.bz2 mate-control-center-8e68aa4f36fd333cb4f3c65efd7b0525a793299e.tar.xz |
removing deprecated GDK_DISPLAY()
Diffstat (limited to 'typing-break/drw-selection.c')
-rw-r--r-- | typing-break/drw-selection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/typing-break/drw-selection.c b/typing-break/drw-selection.c index 99b0980e..28a96533 100644 --- a/typing-break/drw-selection.c +++ b/typing-break/drw-selection.c @@ -70,7 +70,7 @@ drw_selection_clear (GtkWidget *widget, static gboolean drw_selection_find_existing (DrwSelection *drw_selection) { - Display *xdisplay = GDK_DISPLAY (); + Display *xdisplay = GDK_DISPLAY_XDISPLAY(gdk_display_get_default()); Window old; gdk_error_trap_push (); @@ -120,7 +120,7 @@ drw_selection_claim (DrwSelection *drw_selection) static void drw_selection_negotiate (DrwSelection *drw_selection) { - Display *xdisplay = GDK_DISPLAY (); + Display *xdisplay = GDK_DISPLAY_XDISPLAY(gdk_display_get_default()); gboolean found = FALSE; /* We don't need both the XGrabServer() and the loop here; |