From 60a4121a92b75ad26597ffe07387d5398aa87579 Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Sun, 30 Jun 2013 16:02:37 +0200 Subject: [PATCH] wmaker: Moved function prototype to the appropriate header Signed-off-by: Christophe CURIS --- src/appicon.c | 1 - src/appicon.h | 3 +++ src/dock.c | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/appicon.c b/src/appicon.c index dbe7ae58..e7ccb34c 100644 --- a/src/appicon.c +++ b/src/appicon.c @@ -68,7 +68,6 @@ extern XContext wWinContext; #define MOD_MASK wPreferences.modifier_mask #define ICON_SIZE wPreferences.icon_size -void appIconMouseDown(WObjDescriptor * desc, XEvent * event); static void iconDblClick(WObjDescriptor * desc, XEvent * event); static void iconExpose(WObjDescriptor * desc, XEvent * event); static void wApplicationSaveIconPathFor(const char *iconPath, const char *wm_instance, const char *wm_class); diff --git a/src/appicon.h b/src/appicon.h index 6ed90532..f6e1ae61 100644 --- a/src/appicon.h +++ b/src/appicon.h @@ -84,4 +84,7 @@ void unpaint_app_icon(WApplication *wapp); void wApplicationExtractDirPackIcon(WScreen *scr, const char *path, const char *wm_instance, const char *wm_class); WAppIcon *wAppIconFor(Window window); + +void appIconMouseDown(WObjDescriptor * desc, XEvent * event); + #endif diff --git a/src/dock.c b/src/dock.c index 8bd72c29..69bebde8 100644 --- a/src/dock.c +++ b/src/dock.c @@ -68,7 +68,6 @@ /**** Global variables ****/ extern Cursor wCursor[WCUR_LAST]; extern XContext wWinContext; -extern void appIconMouseDown(WObjDescriptor *desc, XEvent *event); #define MOD_MASK wPreferences.modifier_mask #define ICON_SIZE wPreferences.icon_size -- 2.11.4.GIT