summaryrefslogtreecommitdiff
path: root/src/menu.h
diff options
context:
space:
mode:
authorElijah Newren <newren gmail com>2007-04-16 04:48:14 +0000
committerElijah Newren <newren@src.gnome.org>2007-04-16 04:48:14 +0000
commit6de7271ab6aed15f349f61e7d3a5a46d0734a201 (patch)
tree809884f236996aa311ddfb7d221c6b21c852fa70 /src/menu.h
parent6fa4dee13e4aa39fdeed55a49eee2fcd01ba05db (diff)
downloadmetacity-6de7271ab6aed15f349f61e7d3a5a46d0734a201.tar.gz
metacity-6de7271ab6aed15f349f61e7d3a5a46d0734a201.tar.bz2
Remove incorrect usage of window.h from menu.c. See #426791 & #382962.
2007-04-15 Elijah Newren <newren gmail com> Remove incorrect usage of window.h from menu.c. See #426791 & #382962. * src/menu.c (enum MetaMenuItemType, variable menuitems, meta_menu_item_new): cleanup: add a MENU_ITEM_RADIOBUTTON for the sticky stuff * src/menu.c (variable menuitems): * src/core.c (meta_core_get_menu_accelerator): * src/window.c (menu_callback, meta_window_show_menu): * src/common.h (enum MetaMenuOp): reinstate META_MENU_OP_UNABOVE * src/menu.c (meta_window_menu_new): remove hacks (using inappropriate data) for STICK/UNSTICK/ABOVE and clean it up while just setting STICK/UNSTICK activeness as necessary * src/menu.[ch] (meta_window_menu_new): * src/ui.[ch] (meta_ui_window_menu_new): make the active_workspace parameter an unsigned long 2007-04-15 Bruno Boaventura <brunobol@gnome.org> * src/menu.c (meta_window_menu_new): don't show the current workspace as a possible workspace to switch to. Fixes #426791. svn path=/trunk/; revision=3196
Diffstat (limited to 'src/menu.h')
-rw-r--r--src/menu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/menu.h b/src/menu.h
index 6bb544a..39bb7fa 100644
--- a/src/menu.h
+++ b/src/menu.h
@@ -47,7 +47,7 @@ MetaWindowMenu* meta_window_menu_new (MetaFrames *frames,
MetaMenuOp ops,
MetaMenuOp insensitive,
Window client_xwindow,
- int active_workspace,
+ unsigned long active_workspace,
int n_workspaces,
MetaWindowMenuFunc func,
gpointer data);