This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project wmaker-crm.git.
The branch, next has been updated
via 3baed1836847ff41083d7f0e9505ee35488cf5b6 (commit)
from 877f8dfdb6684e0638b444d36419a7d2aa7ce8e0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://repo.or.cz/w/wmaker-crm.git/commit/3baed1836847ff41083d7f0e9505ee35488cf5b6
commit 3baed1836847ff41083d7f0e9505ee35488cf5b6
Author: Christophe CURIS <[email protected]>
Date: Sat Mar 1 15:58:23 2014 +0100
WPrefs: Completely removed function 'makeTitledIcon' that did nothing
Signed-off-by: Christophe CURIS <[email protected]>
diff --git a/WPrefs.app/WPrefs.c b/WPrefs.app/WPrefs.c
index de59cdfa..31192aaa 100644
--- a/WPrefs.app/WPrefs.c
+++ b/WPrefs.app/WPrefs.c
@@ -443,15 +443,9 @@ void CreateImages(WMScreen *scr, RContext *rc, RImage
*xis, const char *file,
}
-static WMPixmap *makeTitledIcon(WMPixmap *icon)
-{
- return WMRetainPixmap(icon);
-}
-
void SetButtonAlphaImage(WMScreen *scr, WMButton *bPtr, const char *file)
{
WMPixmap *icon;
- WMPixmap *icon2;
RColor color;
char *iconPath;
@@ -469,18 +463,7 @@ void SetButtonAlphaImage(WMScreen *scr, WMButton *bPtr,
const char *file)
icon = NULL;
}
- if (icon) {
- icon2 = makeTitledIcon(icon);
- if (icon)
- WMReleasePixmap(icon);
- } else {
- icon2 = NULL;
- }
-
- WMSetButtonImage(bPtr, icon2);
-
- if (icon2)
- WMReleasePixmap(icon2);
+ WMSetButtonImage(bPtr, icon);
color.red = 0xff;
color.green = 0xff;
-----------------------------------------------------------------------
Summary of changes:
WPrefs.app/WPrefs.c | 19 +------------------
1 files changed, 1 insertions(+), 18 deletions(-)
repo.or.cz automatic notification. Contact project admin [email protected]
if you want to unsubscribe, or site admin [email protected] if you receive
no reply.
--
wmaker-crm.git ("The Window Maker window manager")
--
To unsubscribe, send mail to [email protected].