[gtk/wip/otte/G_TYPE_POINTER: 3/5] placessidebar: Don't use G_TYPE_POINTER




commit 53736cc9ba493f91e21f20ce3381b6076c01610a
Author: Benjamin Otte <otte redhat com>
Date:   Sun Aug 29 04:48:49 2021 +0200

    placessidebar: Don't use G_TYPE_POINTER
    
    We have a type for lists of GFiles. We invented it for DND.
    
    Keep the annotation info, so bindings don't have to know this.

 gtk/gtkplacessidebar.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index f1081bfd7c..edc0620189 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -4191,7 +4191,7 @@ gtk_places_sidebar_class_init (GtkPlacesSidebarClass *class)
                         _gtk_marshal_INT__OBJECT_OBJECT_POINTER,
                         GDK_TYPE_DRAG_ACTION, 2,
                         G_TYPE_OBJECT,
-                        G_TYPE_POINTER /* GSList of GFile */ );
+                        GDK_TYPE_FILE_LIST);
 
   /*
    * GtkPlacesSidebar::drag-action-ask:
@@ -4237,7 +4237,7 @@ gtk_places_sidebar_class_init (GtkPlacesSidebarClass *class)
                         _gtk_marshal_VOID__OBJECT_POINTER_INT,
                         G_TYPE_NONE, 3,
                         G_TYPE_OBJECT,
-                        G_TYPE_POINTER, /* GSList of GFile */
+                        GDK_TYPE_FILE_LIST,
                         GDK_TYPE_DRAG_ACTION);
 
   /*


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