[gtk/wip/otte/for-main] gtktypes: GTK_INVALID_LIST_POSITION should be an int




commit b9d4da9cfe9a28f96b2e5cfedce5b2a1c0b88113
Author: Benjamin Otte <otte redhat com>
Date:   Tue Dec 7 16:15:17 2021 +0100

    gtktypes: GTK_INVALID_LIST_POSITION should be an int
    
    GListModel uses guint, so the macros we define for it should match that.
    
    Related: !3738

 gtk/gtktypes.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtktypes.h b/gtk/gtktypes.h
index 5892c0980e..71afde94b0 100644
--- a/gtk/gtktypes.h
+++ b/gtk/gtktypes.h
@@ -69,7 +69,7 @@ typedef struct _GtkWindow              GtkWindow;
  * Refer to each function's documentation for if this value is
  * allowed and what it does.
  */
-#define GTK_INVALID_LIST_POSITION ((guint32) 0xffffffff)
+#define GTK_INVALID_LIST_POSITION ((guint) 0xffffffff)
 
 G_END_DECLS
 


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