diff options
author | Vincent Untz <vuntz@gnome.org> | 2007-11-13 13:15:19 +0000 |
---|---|---|
committer | Vincent Untz <vuntz@src.gnome.org> | 2007-11-13 13:15:19 +0000 |
commit | d4f0e682a627f640ccd12c1f83fde01f8dce68cd (patch) | |
tree | 582856470119fb3f7f8379c63f317fd3fd93584b /libwnck/window-action-menu.c | |
parent | 3dcddb99db9991ad33fb8ec33ca87232f0ea0ffd (diff) | |
download | libwnck-d4f0e682a627f640ccd12c1f83fde01f8dce68cd.tar.gz |
don't make this function a define. We need the symbol for now, if we don't
2007-11-13 Vincent Untz <vuntz@gnome.org>
* libwnck/window-action-menu.[ch]: (wnck_create_window_action_menu):
don't make this function a define. We need the symbol for now, if we
don't want to break the ABI...
svn path=/trunk/; revision=1518
Diffstat (limited to 'libwnck/window-action-menu.c')
-rw-r--r-- | libwnck/window-action-menu.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libwnck/window-action-menu.c b/libwnck/window-action-menu.c index 145cf45..5921b9d 100644 --- a/libwnck/window-action-menu.c +++ b/libwnck/window-action-menu.c @@ -1219,3 +1219,20 @@ wnck_action_menu_new (WnckWindow *window) "window", window, NULL); } + +/** + * wnck_create_window_action_menu: + * @window: the #WnckWindow for which a menu will be created. + * + * Creates a new #WnckActionMenu. The #WnckActionMenu will be filled with menu + * items for window operations on @window. + * + * Return value: a newly created #WnckActionMenu. + * + * Deprecated:2.22: Use wnck_action_menu_new() instead. + */ +GtkWidget* +wnck_create_window_action_menu (WnckWindow *window) +{ + return wnck_action_menu_new (window); +} |