summaryrefslogtreecommitdiff
path: root/gtk/gtkapplicationwindow.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2011-12-01 17:47:34 -0500
committerRyan Lortie <desrt@desrt.ca>2011-12-19 12:51:09 -0500
commit2c6b7eff17da7992b746b45887262277f2c7941c (patch)
treecfe0e184eb89c73bf1b66706bd5051be51dfde32 /gtk/gtkapplicationwindow.h
parentb041d334657f9f2d921e2447dad541cc3819aa00 (diff)
downloadgtk+-2c6b7eff17da7992b746b45887262277f2c7941c.tar.gz
GtkApplicationWindow: Further sanitize handling of merging app menu and menubar
The _set_show_app_menu should really be _set_show_menubar(). Also, correctly display just the window menu in the window when run under GNOME 3.
Diffstat (limited to 'gtk/gtkapplicationwindow.h')
-rw-r--r--gtk/gtkapplicationwindow.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/gtk/gtkapplicationwindow.h b/gtk/gtkapplicationwindow.h
index f30d8d796d..20927460db 100644
--- a/gtk/gtkapplicationwindow.h
+++ b/gtk/gtkapplicationwindow.h
@@ -61,11 +61,9 @@ struct _GtkApplicationWindowClass
GType gtk_application_window_get_type (void) G_GNUC_CONST;
GtkWidget * gtk_application_window_new (GtkApplication *application);
-void gtk_application_window_set_show_app_menu (GtkApplicationWindow *window,
- gboolean show_app_menu);
-gboolean gtk_application_window_get_show_app_menu (GtkApplicationWindow *window);
-
-GtkWidget * gtk_application_window_get_app_menu (GtkApplicationWindow *window);
+void gtk_application_window_set_show_menubar (GtkApplicationWindow *window,
+ gboolean show);
+gboolean gtk_application_window_get_show_menubar (GtkApplicationWindow *window);
G_END_DECLS