summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2018-07-05 21:01:44 +0200
committerTimm Bäder <mail@baedert.org>2018-07-08 09:41:15 +0200
commitaf8fe182c85611b35b953ffd05d65f4bdf05cc3c (patch)
tree3230cd85215aa47cf76bb787df2226b71ba10a13
parent731f0d4d0167bbfc725fa0f57aafb3cb693486e9 (diff)
downloadgtk+-af8fe182c85611b35b953ffd05d65f4bdf05cc3c.tar.gz
Fix a few documentation warnings
-rw-r--r--gtk/gtkmediastream.c2
-rw-r--r--gtk/gtknativedialog.c2
-rw-r--r--gtk/gtkpicture.c6
-rw-r--r--gtk/gtkrender.c2
-rw-r--r--gtk/gtkscrolledwindow.c3
5 files changed, 8 insertions, 7 deletions
diff --git a/gtk/gtkmediastream.c b/gtk/gtkmediastream.c
index 569b4b9ce3..86f5c72cc5 100644
--- a/gtk/gtkmediastream.c
+++ b/gtk/gtkmediastream.c
@@ -651,7 +651,7 @@ gtk_media_stream_get_timestamp (GtkMediaStream *self)
/**
* gtk_media_stream_get_duration:
- * @self: a #GtkmediaStream
+ * @self: a #GtkMediaStream
*
* Gets the duration of the stream. If the duration is not known,
* 0 will be returned.
diff --git a/gtk/gtknativedialog.c b/gtk/gtknativedialog.c
index 931e2a0c90..ffe783c99f 100644
--- a/gtk/gtknativedialog.c
+++ b/gtk/gtknativedialog.c
@@ -575,7 +575,7 @@ run_response_cb (GtkNativeDialog *self,
* modal dialog (it prevents the user from interacting with other
* windows in the same window group while the dialog is run), callbacks
* such as timeouts, IO channel watches, DND drops, etc, will
- * be triggered during a gtk_nautilus_dialog_run() call.
+ * be triggered during a gtk_native_dialog_run() call.
*
* Returns: response ID
**/
diff --git a/gtk/gtkpicture.c b/gtk/gtkpicture.c
index a33f365c1c..887ac7acf9 100644
--- a/gtk/gtkpicture.c
+++ b/gtk/gtkpicture.c
@@ -50,13 +50,13 @@
* “broken image” icon similar to that used in many web browsers.
* If you want to handle errors in loading the file yourself,
* for example by displaying an error message, then load the image with
- * gdk_texture_new_for_file(), then create the #GtkPicture with
+ * gdk_texture_new_from_file(), then create the #GtkPicture with
* gtk_picture_new_for_paintable().
*
* Sometimes an application will want to avoid depending on external data
* files, such as image files. See the documentation of #GResource for details.
- * In this case, the #GtkPicture:resource property, gtk_picture_new_for_resource() and
- * gtk_picture_set_resource() should be used.
+ * In this case, gtk_picture_new_for_resource() and gtk_picture_set_resource()
+ * should be used.
*
* # CSS nodes
*
diff --git a/gtk/gtkrender.c b/gtk/gtkrender.c
index 9f6ce29750..12c0fa2775 100644
--- a/gtk/gtkrender.c
+++ b/gtk/gtkrender.c
@@ -766,7 +766,7 @@ gtk_do_render_handle (GtkStyleContext *context,
* @width: rectangle width
* @height: rectangle height
*
- * Renders a handle (as in #GtkHandleBox, #GtkPaned and
+ * Renders a handle (as in #GtkPaned and
* #GtkWindow’s resize grip), in the rectangle
* determined by @x, @y, @width, @height.
*
diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c
index e46e8dc5d4..4c502846ae 100644
--- a/gtk/gtkscrolledwindow.c
+++ b/gtk/gtkscrolledwindow.c
@@ -96,7 +96,8 @@
* gtk_bin_get_child (GTK_BIN (scrolled_window)));
* ]|
*
- * Unless #GtkScrolledWindow:policy is GTK_POLICY_NEVER or GTK_POLICY_EXTERNAL,
+ * Unless #GtkScrolledWindow:hscrolbar-policy and #GtkScrolledWindow:vscrollbar-policy
+ * are GTK_POLICY_NEVER or GTK_POLICY_EXTERNAL,
* GtkScrolledWindow adds internal #GtkScrollbar widgets around its child. The
* scroll position of the child, and if applicable the scrollbars, is controlled
* by the #GtkScrolledWindow:hadjustment and #GtkScrolledWindow:vadjustment