[gtk/gtk-3-24: 1/2] Use the proper cairo.Format type instead of overriding to gint via annotations in gdk_window_create_




commit ac69c05a3121d4d9c59008c19f00970ec49d5af5
Author: Sebastian Dröge <sebastian centricular com>
Date:   Sat Feb 20 12:43:21 2021 +0200

    Use the proper cairo.Format type instead of overriding to gint via annotations in 
gdk_window_create_similar_surface()

 gdk/gdkwindow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 18ebfa5714..2de8ba4a09 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -10200,7 +10200,7 @@ gdk_window_create_similar_surface (GdkWindow *     window,
  * gdk_window_create_similar_image_surface:
  * @window: (nullable): window to make new surface similar to, or
  *   %NULL if none
- * @format: (type int): the format for the new surface
+ * @format: the format for the new surface
  * @width: width of the new surface
  * @height: height of the new surface
  * @scale: the scale of the new surface, or 0 to use same as @window


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]