mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
GetProgramNameForWindow removed
The function GetProgramNameForWindow is no longer used, so it can be removed.
This commit is contained in:
committed by
Carlos R. Mafra
parent
fbd9c12cd0
commit
50765fab84
@@ -111,7 +111,6 @@ Bool wGetIconName(Display *dpy, Window win, char **iconname);
|
||||
|
||||
/* Free returned string it when done. (applies to the next 2 functions) */
|
||||
char * GetCommandForWindow(Window win);
|
||||
char * GetProgramNameForWindow(Window win);
|
||||
|
||||
Bool GetCommandForPid(int pid, char ***argv, int *argc);
|
||||
|
||||
|
||||
@@ -1094,9 +1094,3 @@ char *GetCommandForWindow(Window win)
|
||||
{
|
||||
return getCommandForWindow(win, 0);
|
||||
}
|
||||
|
||||
/* Free result when done */
|
||||
char *GetProgramNameForWindow(Window win)
|
||||
{
|
||||
return getCommandForWindow(win, 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user