forked from AuroraMiddleware/gtk
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:
parent
fb325afc79
commit
4e264a74be
@ -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);
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user