diff options
author | Matthias Clasen <mclasen@redhat.com> | 2012-01-09 17:30:09 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-01-09 17:30:09 -0500 |
commit | 9cb4518a247dc386d3136424c5db95b6df45aacd (patch) | |
tree | d0f8750c23ccf5f3b11bca70fb4f8054dbbaf727 /gtk/gtkapplicationwindow.c | |
parent | 64f3347cd7d9e55003473d139c9d4111791e5f1a (diff) | |
download | gtk+-9cb4518a247dc386d3136424c5db95b6df45aacd.tar.gz |
Fix wrong refencences in the docs
Replace all references to g_application_set_app_menu and
g_application_set_menubar by their gtk variants, which
actually exist. Pointed out in bug 667546
Diffstat (limited to 'gtk/gtkapplicationwindow.c')
-rw-r--r-- | gtk/gtkapplicationwindow.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkapplicationwindow.c b/gtk/gtkapplicationwindow.c index 341e57709a..cb073f35e6 100644 --- a/gtk/gtkapplicationwindow.c +++ b/gtk/gtkapplicationwindow.c @@ -43,8 +43,8 @@ * GtkApplicationWindow is a #GtkWindow subclass that offers some * extra functionality for better integration with #GtkApplication * features. Notably, it can handle both the application menu as well - * as the menubar. See g_application_set_app_menu() and - * g_application_set_menubar(). + * as the menubar. See gtk_application_set_app_menu() and + * gtk_application_set_menubar(). * * This class implements the #GActionGroup and #GActionMap interfaces, * to let you add window-specific actions that will be exported by the @@ -88,8 +88,8 @@ * " </submenu>" * " </menu>" * "</interface>"); - * g_application_set_menubar (G_APPLICATION (app), - * G_MENU_MODEL (gtk_builder_get_object (builder, "menubar"))); + * gtk_application_set_menubar (G_APPLICATION (app), + * G_MENU_MODEL (gtk_builder_get_object (builder, "menubar"))); * g_object_unref (builder); * * ... @@ -902,8 +902,8 @@ gtk_application_window_class_init (GtkApplicationWindowClass *class) * * If this property is %TRUE, the window will display a menubar * that includes the app menu and menubar, unless these are - * shown by the desktop shell. See g_application_set_app_menu() - * and g_application_set_menubar(). + * shown by the desktop shell. See gtk_application_set_app_menu() + * and gtk_application_set_menubar(). * * If %FALSE, the window will not display a menubar, regardless * of whether the desktop shell is showing the menus or not. |