Annotation fixes

Match the arguments name in the declaration and the definition, and make
sure we have the proper transfer annotations.
This commit is contained in:
Emmanuele Bassi 2020-04-03 15:30:56 +01:00
parent fb325afc79
commit 4e264a74be
3 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ GDK_AVAILABLE_IN_ALL
G_DECLARE_INTERFACE (GdkDragSurface, gdk_drag_surface, GDK, DRAG_SURFACE, GObject) G_DECLARE_INTERFACE (GdkDragSurface, gdk_drag_surface, GDK, DRAG_SURFACE, GObject)
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL
gboolean gdk_drag_surface_present (GdkDragSurface *drag_icon, gboolean gdk_drag_surface_present (GdkDragSurface *drag_surface,
int width, int width,
int height); int height);

View File

@ -293,7 +293,7 @@ gdk_toplevel_layout_get_fullscreen (GdkToplevelLayout *layout)
* Returns the monitor that the layout is fullscreening * Returns the monitor that the layout is fullscreening
* the surface on. * the surface on.
* *
* Returns: (nullable): the monitor on which @layout fullscreens * Returns: (nullable) (transfer none): the monitor on which @layout fullscreens
*/ */
GdkMonitor * GdkMonitor *
gdk_toplevel_layout_get_fullscreen_monitor (GdkToplevelLayout *layout) gdk_toplevel_layout_get_fullscreen_monitor (GdkToplevelLayout *layout)

View File

@ -45,7 +45,7 @@ GType gtk_shortcut_controller_get_type (void) G
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL
GtkEventController * gtk_shortcut_controller_new (void); GtkEventController * gtk_shortcut_controller_new (void);
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL
GtkEventController * gtk_shortcut_controller_new_for_model (GListModel *list); GtkEventController * gtk_shortcut_controller_new_for_model (GListModel *model);
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL
void gtk_shortcut_controller_set_mnemonics_modifiers (GtkShortcutController *self, void gtk_shortcut_controller_set_mnemonics_modifiers (GtkShortcutController *self,