From: Hugo Villeneuve Date: Sun, 21 Dec 2014 19:41:08 +0000 (-0500) Subject: Fix compiler warnings when GTK_WITHDRAWN_HACK is undefined X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=7670cc8814b5cf8726eb81db73c525c50c304c94;p=dockapps%2Fhvclock.git Fix compiler warnings when GTK_WITHDRAWN_HACK is undefined --- diff --git a/src/dockapp.c b/src/dockapp.c index e92f00e..a2baed4 100644 --- a/src/dockapp.c +++ b/src/dockapp.c @@ -47,6 +47,8 @@ /* Width and height in pixels of Window Maker icons. */ #define ICON_SIZE 64 +#ifdef GTK_WITHDRAWN_HACK + static void dockapp_set_withdrawn_state(Display *d, Window w) { @@ -97,6 +99,8 @@ dockapp_gtk_withdrawn_hack(GtkWidget *dockwin, GtkWidget *iconwin) XDestroyWindow(d, win_temp); } +#endif /* GTK_WITHDRAWN_HACK */ + void dockapp_set_mask(GtkWidget *iconwin, char **xpm) {