mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 05:48:01 +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:
committed by
Carlos R. Mafra
parent
d53b43608a
commit
96800cdc16
@@ -952,7 +952,7 @@ static WAppIcon *findDockIconFor(WDock *dock, Window main_window)
|
||||
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;
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ typedef struct WAppIcon {
|
||||
WAppIcon *wAppIconCreateForDock(WScreen *scr, char *command, char *wm_instance,
|
||||
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 wAppIconPaint(WAppIcon *aicon);
|
||||
void wAppIconMove(WAppIcon *aicon, int x, int y);
|
||||
|
||||
@@ -146,7 +146,7 @@ WApplication *wApplicationCreate(WWindow * wwin)
|
||||
/* Create the application icon using the icon from docks
|
||||
* If not found in docks, create a new icon
|
||||
* 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_app_icon(wapp);
|
||||
|
||||
Reference in New Issue
Block a user