mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 14:08:06 +01:00
wIcon* functions renamed
These functiosn were renamed: wIconCreateCore to icon_create_core wIconCreateWithIconFile to icon_create_for_dock wIconCreate to icon_create_for_wwindow
This commit is contained in:
committed by
Carlos R. Mafra
parent
adfb761021
commit
97f74548ef
@@ -130,7 +130,7 @@ WAppIcon *wAppIconCreateForDock(WScreen *scr, char *command, char *wm_instance,
|
||||
/* Search the icon using instance and class, without default icon */
|
||||
path = get_default_icon_filename(scr, wm_instance, wm_class, command, False);
|
||||
|
||||
aicon->icon = wIconCreateWithIconFile(scr, path, tile);
|
||||
aicon->icon = icon_create_for_dock(scr, path, tile);
|
||||
if (path)
|
||||
wfree(path);
|
||||
#ifdef XDND
|
||||
@@ -235,7 +235,6 @@ static WAppIcon *wAppIconCreate(WWindow *leader_win)
|
||||
|
||||
aicon = wmalloc(sizeof(WAppIcon));
|
||||
wretain(aicon);
|
||||
|
||||
aicon->yindex = -1;
|
||||
aicon->xindex = -1;
|
||||
|
||||
@@ -251,7 +250,7 @@ static WAppIcon *wAppIconCreate(WWindow *leader_win)
|
||||
if (leader_win->wm_instance)
|
||||
aicon->wm_instance = wstrdup(leader_win->wm_instance);
|
||||
|
||||
aicon->icon = wIconCreate(leader_win);
|
||||
aicon->icon = icon_create_for_wwindow(leader_win);
|
||||
#ifdef XDND
|
||||
wXDNDMakeAwareness(aicon->icon->core->window);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user