Fix a few documentation warnings

This commit is contained in:
Timm Bäder 2018-07-05 21:01:44 +02:00
parent 731f0d4d01
commit af8fe182c8
5 changed files with 8 additions and 7 deletions

View File

@ -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.

View File

@ -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
**/

View File

@ -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
*

View File

@ -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
* #GtkWindows resize grip), in the rectangle
* determined by @x, @y, @width, @height.
*

View File

@ -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