1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 14:08:06 +01:00

app_icon_create_from_docks renamed to create_appicon_from_dock

The function app_icon_create_from_docks is renamed to create_appicon_from_dock
because the name reads better.
This commit is contained in:
Rodolfo García Peñas (kix)
2012-06-19 00:54:37 +02:00
committed by Carlos R. Mafra
parent d53b43608a
commit 96800cdc16
3 changed files with 3 additions and 3 deletions

View File

@@ -952,7 +952,7 @@ static WAppIcon *findDockIconFor(WDock *dock, Window main_window)
return aicon; return aicon;
} }
void app_icon_create_from_docks(WWindow *wwin, WApplication *wapp, Window main_window) void create_appicon_from_dock(WWindow *wwin, WApplication *wapp, Window main_window)
{ {
WScreen *scr = wwin->screen_ptr; WScreen *scr = wwin->screen_ptr;

View File

@@ -72,7 +72,7 @@ typedef struct WAppIcon {
WAppIcon *wAppIconCreateForDock(WScreen *scr, char *command, char *wm_instance, WAppIcon *wAppIconCreateForDock(WScreen *scr, char *command, char *wm_instance,
char *wm_class, int tile); char *wm_class, int tile);
void app_icon_create_from_docks(WWindow *wwin, WApplication *wapp, Window main_window); void create_appicon_from_dock(WWindow *wwin, WApplication *wapp, Window main_window);
void wAppIconDestroy(WAppIcon *aicon); void wAppIconDestroy(WAppIcon *aicon);
void wAppIconPaint(WAppIcon *aicon); void wAppIconPaint(WAppIcon *aicon);
void wAppIconMove(WAppIcon *aicon, int x, int y); void wAppIconMove(WAppIcon *aicon, int x, int y);

View File

@@ -146,7 +146,7 @@ WApplication *wApplicationCreate(WWindow * wwin)
/* Create the application icon using the icon from docks /* Create the application icon using the icon from docks
* If not found in docks, create a new icon * If not found in docks, create a new icon
* using the function wAppIconCreate() */ * using the function wAppIconCreate() */
app_icon_create_from_docks(wwin, wapp, main_window); create_appicon_from_dock(wwin, wapp, main_window);
/* Save the app_icon in a file */ /* Save the app_icon in a file */
save_app_icon(wapp); save_app_icon(wapp);