From: Hugo Villeneuve Date: Fri, 15 Oct 2010 15:40:49 +0000 (+0000) Subject: Remove GDK_DISPLAY() usage X-Git-Tag: hvclock-1.0.1~2 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=ad114d548192170be566dc9c8d86313e7cea3da8;p=dockapps%2Fhvclock.git Remove GDK_DISPLAY() usage --- diff --git a/src/dockapp.c b/src/dockapp.c index 41279ff..7b977cc 100644 --- a/src/dockapp.c +++ b/src/dockapp.c @@ -78,7 +78,7 @@ dockapp_init(int argc, char *argv[], char *display_arg, char *geometry_arg) wm_hints.icon_window = GDK_WINDOW_XWINDOW(iconwin->window); wm_hints.window_group = GDK_WINDOW_XWINDOW(dockwin->window); - XSetWMHints(GDK_DISPLAY(), GDK_WINDOW_XWINDOW(dockwin->window), - &wm_hints); + XSetWMHints(GDK_DISPLAY_XDISPLAY(gdk_display_get_default()), + GDK_WINDOW_XWINDOW(dockwin->window), &wm_hints); } }