projects
/
dockapps
/
hvclock.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79cd14f
)
Fix compiler warnings when GTK_WITHDRAWN_HACK is undefined
author
Hugo Villeneuve
<hugo@hugovil.com>
Sun, 21 Dec 2014 19:41:08 +0000
(14:41 -0500)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Wed, 9 Mar 2016 22:35:06 +0000
(17:35 -0500)
src/dockapp.c
patch
|
blob
|
history
diff --git
a/src/dockapp.c
b/src/dockapp.c
index
e92f00e
..
a2baed4
100644
(file)
--- 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)
{