forked from AuroraMiddleware/gtk
Fix some g-i annotation warnings
This commit is contained in:
parent
58aa93be41
commit
ff738269b6
@ -625,7 +625,7 @@ gdk_empty_paintable_init (GdkEmptyPaintable *self)
|
||||
* virtual function when the paintable is in an incomplete state (like a
|
||||
* #GtkMediaStream before receiving the first frame).
|
||||
*
|
||||
* Returns: (transfer full) a #GdkPaintable
|
||||
* Returns: (transfer full): a #GdkPaintable
|
||||
**/
|
||||
GdkPaintable *
|
||||
gdk_paintable_new_empty (int intrinsic_width,
|
||||
|
@ -246,7 +246,7 @@ gtk_gesture_stylus_get_axes (GtkGestureStylus *gesture,
|
||||
/**
|
||||
* gtk_gesture_stylus_get_backlog:
|
||||
* @gesture: a #GtkGestureStylus
|
||||
* @backlog: (out): coordinates and times for the backlog events
|
||||
* @backlog: (out) (array length=n_elems): coordinates and times for the backlog events
|
||||
* @n_elems: (out): return location for the number of elements
|
||||
*
|
||||
* By default, GTK+ will limit rate of input events. On stylus input where
|
||||
|
@ -755,7 +755,7 @@ gtk_search_bar_set_key_capture_widget (GtkSearchBar *bar,
|
||||
*
|
||||
* Gets the widget that @bar is capturing key events from.
|
||||
*
|
||||
* Returns: The key capture widget.
|
||||
* Returns: (transfer none): The key capture widget.
|
||||
*
|
||||
* Since: 3.94
|
||||
**/
|
||||
|
@ -479,7 +479,7 @@ capture_widget_key_handled (GtkEventControllerKey *controller,
|
||||
|
||||
/**
|
||||
* gtk_search_entry_set_key_capture_widget:
|
||||
* @bar: a #GtkSearchEntry
|
||||
* @entry: a #GtkSearchEntry
|
||||
* @widget: (nullable) (transfer none): a #GtkWidget
|
||||
*
|
||||
* Sets @widget as the widget that @entry will capture key events from.
|
||||
@ -532,7 +532,7 @@ gtk_search_entry_set_key_capture_widget (GtkSearchEntry *entry,
|
||||
*
|
||||
* Gets the widget that @entry is capturing key events from.
|
||||
*
|
||||
* Returns: The key capture widget.
|
||||
* Returns: (transfer none): The key capture widget.
|
||||
*
|
||||
* Since: 3.94
|
||||
**/
|
||||
|
@ -268,7 +268,7 @@ gtk_widget_paintable_init (GtkWidgetPaintable *self)
|
||||
*
|
||||
* Creates a new widget paintable observing the given widget.
|
||||
*
|
||||
* Returns: a new #GtkWidgetPaintable
|
||||
* Returns: (transfer full) (type GtkWidgetPaintable): a new #GtkWidgetPaintable
|
||||
**/
|
||||
GdkPaintable *
|
||||
gtk_widget_paintable_new (GtkWidget *widget)
|
||||
|
Loading…
Reference in New Issue
Block a user