[gtk+] docs: trivial fixes in GtkApplication-related documentation
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] docs: trivial fixes in GtkApplication-related documentation
- Date: Sat, 9 Apr 2016 07:46:06 +0000 (UTC)
commit b3dc473057143173eb59378680219635265787d0
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Apr 8 20:13:07 2016 +0200
docs: trivial fixes in GtkApplication-related documentation
gtk/gtkactionable.c | 2 +-
gtk/gtkapplication.c | 6 +++---
gtk/gtkapplicationwindow.c | 6 +++---
gtk/gtkwindow.c | 2 +-
4 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/gtk/gtkactionable.c b/gtk/gtkactionable.c
index b41aabb..1459811 100644
--- a/gtk/gtkactionable.c
+++ b/gtk/gtkactionable.c
@@ -40,7 +40,7 @@
* The action will be looked up in action groups that are found among
* the widgets ancestors. Most commonly, these will be the actions with
* the “win.” or “app.” prefix that are associated with the #GtkApplicationWindow
- * or "GtkApplication, but other action groups that are added with
+ * or #GtkApplication, but other action groups that are added with
* gtk_widget_insert_action_group() will be consulted as well.
*
* Since: 3.4
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index ace8b15..b57ebfb 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -103,8 +103,8 @@
* defines a #GtkShortcutsWindow with ID "help_overlay" then GtkApplication
* associates an instance of this shortcuts window with each
* #GtkApplicationWindow and sets up keyboard accelerators (Control-F1
- * and Control-?) to open it. To create an menu item that displays the
- * shortcuts window associate the item with the action win.show-help-overlay.
+ * and Control-?) to open it. To create a menu item that displays the
+ * shortcuts window, associate the item with the action win.show-help-overlay.
*
* ## A simple application ## {#gtkapplication}
*
@@ -1519,7 +1519,7 @@ gtk_application_get_menubar (GtkApplication *application)
* types of actions that may be blocked are specified by the @flags
* parameter. When the application completes the operation it should
* call gtk_application_uninhibit() to remove the inhibitor. Note that
- * an application can have multiple inhibitors, and all of the must
+ * an application can have multiple inhibitors, and all of them must
* be individually removed. Inhibitors are also cleared when the
* application exits.
*
diff --git a/gtk/gtkapplicationwindow.c b/gtk/gtkapplicationwindow.c
index 41cbee9..f921a3d 100644
--- a/gtk/gtkapplicationwindow.c
+++ b/gtk/gtkapplicationwindow.c
@@ -38,7 +38,7 @@
* @title: GtkApplicationWindow
* @short_description: GtkWindow subclass with GtkApplication support
*
- * GtkApplicationWindow is a #GtkWindow subclass that offers some
+ * #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 gtk_application_set_app_menu() and
@@ -52,9 +52,9 @@
* prefix. Actions must be addressed with the prefixed name when
* referring to them from a #GMenuModel.
*
- * Note that widgets that are placed inside a GtkApplicationWindow
+ * Note that widgets that are placed inside a #GtkApplicationWindow
* can also activate these actions, if they implement the
- * GtkActionable interface.
+ * #GtkActionable interface.
*
* As with #GtkApplication, the GDK lock will be acquired when
* processing actions arriving from other processes and should therefore
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 72053cf..b19a643 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -1097,7 +1097,7 @@ gtk_window_class_init (GtkWindowClass *klass)
*
* Normally, the connection between the application and the window
* will remain until the window is destroyed, but you can explicitly
- * remove it by setting the ::application property to %NULL.
+ * remove it by setting the :application property to %NULL.
*
* Since: 3.0
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]