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 378a59f02e113923cde66612ca369667d8a8347c (commit)
from 102e836e8e9864f28f8d48c357107c2d001fc86b (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/378a59f02e113923cde66612ca369667d8a8347c
commit 378a59f02e113923cde66612ca369667d8a8347c
Author: Iain Patterson <[email protected]>
Date: Sat Oct 19 16:35:10 2013 +0100
Compiler food.
The code to update the "Other maximization" menu's labels was moved from
makeMaximizeMenu() to updateMaximizeMenu(), making the WMenuEntry
pointer in the former function redundant.
diff --git a/src/winmenu.c b/src/winmenu.c
index 5d56759..6335ae8 100644
--- a/src/winmenu.c
+++ b/src/winmenu.c
@@ -575,7 +575,6 @@ static WMenu *makeOptionsMenu(WScreen * scr)
static WMenu *makeMaximizeMenu(WScreen * scr)
{
WMenu *menu;
- WMenuEntry *entry;
menu = wMenuCreate(scr, NULL, False);
if (!menu) {
@@ -583,17 +582,17 @@ static WMenu *makeMaximizeMenu(WScreen * scr)
return NULL;
}
- entry = wMenuAddCallback(menu, _("Maximize vertically"),
execMaximizeCommand, NULL);
- entry = wMenuAddCallback(menu, _("Maximize horizontally"),
execMaximizeCommand, NULL);
- entry = wMenuAddCallback(menu, _("Maximize left half"),
execMaximizeCommand, NULL);
- entry = wMenuAddCallback(menu, _("Maximize right half"),
execMaximizeCommand, NULL);
- entry = wMenuAddCallback(menu, _("Maximize top half"),
execMaximizeCommand, NULL);
- entry = wMenuAddCallback(menu, _("Maximize bottom half"),
execMaximizeCommand, NULL);
- entry = wMenuAddCallback(menu, _("Maximize left top corner"),
execMaximizeCommand, NULL);
- entry = wMenuAddCallback(menu, _("Maximize right top corner"),
execMaximizeCommand, NULL);
- entry = wMenuAddCallback(menu, _("Maximize left bottom corner"),
execMaximizeCommand, NULL);
- entry = wMenuAddCallback(menu, _("Maximize right bottom corner"),
execMaximizeCommand, NULL);
- entry = wMenuAddCallback(menu, _("Maximus: tiled maximization"),
execMaximizeCommand, NULL);
+ (void) wMenuAddCallback(menu, _("Maximize vertically"),
execMaximizeCommand, NULL);
+ (void) wMenuAddCallback(menu, _("Maximize horizontally"),
execMaximizeCommand, NULL);
+ (void) wMenuAddCallback(menu, _("Maximize left half"),
execMaximizeCommand, NULL);
+ (void) wMenuAddCallback(menu, _("Maximize right half"),
execMaximizeCommand, NULL);
+ (void) wMenuAddCallback(menu, _("Maximize top half"),
execMaximizeCommand, NULL);
+ (void) wMenuAddCallback(menu, _("Maximize bottom half"),
execMaximizeCommand, NULL);
+ (void) wMenuAddCallback(menu, _("Maximize left top corner"),
execMaximizeCommand, NULL);
+ (void) wMenuAddCallback(menu, _("Maximize right top corner"),
execMaximizeCommand, NULL);
+ (void) wMenuAddCallback(menu, _("Maximize left bottom corner"),
execMaximizeCommand, NULL);
+ (void) wMenuAddCallback(menu, _("Maximize right bottom corner"),
execMaximizeCommand, NULL);
+ (void) wMenuAddCallback(menu, _("Maximus: tiled maximization"),
execMaximizeCommand, NULL);
return menu;
}
-----------------------------------------------------------------------
Summary of changes:
src/winmenu.c | 23 +++++++++++------------
1 files changed, 11 insertions(+), 12 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].