summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Wilmet <swilmet@gnome.org>2016-04-08 20:13:07 +0200
committerMatthias Clasen <mclasen@redhat.com>2016-04-19 10:24:07 -0400
commit9bc3a93cf974619e479bf6bfc9442fd8b693f7bb (patch)
tree6ddfced52bfc406672e184b53c6f82a5c92d8562
parent115af7c96ea19ea5c32cd31fe37427a954ac6769 (diff)
downloadgtk+-9bc3a93cf974619e479bf6bfc9442fd8b693f7bb.tar.gz
docs: trivial fixes in GtkApplication-related documentation
-rw-r--r--gtk/gtkactionable.c2
-rw-r--r--gtk/gtkapplication.c6
-rw-r--r--gtk/gtkapplicationwindow.c6
-rw-r--r--gtk/gtkwindow.c2
4 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtkactionable.c b/gtk/gtkactionable.c
index b41aabb030..1459811f37 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 9ecd969be6..454c610784 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}
*
@@ -1518,7 +1518,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 41cbee949e..f921a3d84d 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 72053cf893..b19a643059 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
*/