From 50765fab84889ae71c4a54afec75dd66250f3100 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Mon, 18 Jun 2012 11:57:41 +0200 Subject: [PATCH] GetProgramNameForWindow removed The function GetProgramNameForWindow is no longer used, so it can be removed. --- src/funcs.h | 1 - src/misc.c | 6 ------ 2 files changed, 7 deletions(-) diff --git a/src/funcs.h b/src/funcs.h index e827504d..48fd5b3c 100644 --- a/src/funcs.h +++ b/src/funcs.h @@ -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); diff --git a/src/misc.c b/src/misc.c index fd283c28..389ad00c 100644 --- a/src/misc.c +++ b/src/misc.c @@ -1094,9 +1094,3 @@ char *GetCommandForWindow(Window win) { return getCommandForWindow(win, 0); } - -/* Free result when done */ -char *GetProgramNameForWindow(Window win) -{ - return getCommandForWindow(win, 1); -} -- 2.11.4.GIT