gobject-introspection will be confused and mark the methods as not
introspectable otherwise.
/**
* gtk_application_set_app_menu:
* @application: a #GtkApplication
/**
* gtk_application_set_app_menu:
* @application: a #GtkApplication
- * @app_menu: (allow-none): a #GMenuModel, or %NULL
+ * @model: (allow-none): a #GMenuModel, or %NULL
*
* Sets or unsets the application menu for @application.
*
*
* Sets or unsets the application menu for @application.
*
*/
void
gtk_application_set_app_menu (GtkApplication *application,
*/
void
gtk_application_set_app_menu (GtkApplication *application,
- g_object_set (application, "app-menu", app_menu, NULL);
+ g_object_set (application, "app-menu", model, NULL);
/**
* gtk_application_set_menubar:
* @application: a #GtkApplication
/**
* gtk_application_set_menubar:
* @application: a #GtkApplication
- * @menubar: (allow-none): a #GMenuModel, or %NULL
+ * @model: (allow-none): a #GMenuModel, or %NULL
*
* Sets or unsets the menubar for windows of @application.
*
*
* Sets or unsets the menubar for windows of @application.
*
*/
void
gtk_application_set_menubar (GtkApplication *application,
*/
void
gtk_application_set_menubar (GtkApplication *application,
- g_object_set (application, "menubar", menubar, NULL);
+ g_object_set (application, "menubar", model, NULL);