>From 042b4a5e11b5df640aa2307c3f818928027d6e42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?"Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20(kix)"?= <[email protected]>
Date: Mon, 18 Jun 2012 11:57:41 +0200
Subject: [PATCH 09/12] GetProgramNameForWindow removed

The function GetProgramNameForWindow is not longer used, and 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 e827504..48fd5b3 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 fd283c2..389ad00 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);
-}
-- 
1.7.10

-- 
||// //\\// Rodolfo "kix" Garcia
||\\// //\\ http://www.kix.es/
>From 042b4a5e11b5df640aa2307c3f818928027d6e42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?"Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20(kix)"?= <[email protected]>
Date: Mon, 18 Jun 2012 11:57:41 +0200
Subject: [PATCH 09/12] GetProgramNameForWindow removed

The function GetProgramNameForWindow is not longer used, and 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 e827504..48fd5b3 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 fd283c2..389ad00 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);
-}
-- 
1.7.10

Reply via email to