[gtk/wip/otte/G_TYPE_POINTER: 4/5] filesystemmodel: Don't use G_TYPE_POINTER




commit 84741d48f9628ae9a0214360f90cfef5df18e5d9
Author: Benjamin Otte <otte redhat com>
Date:   Sun Aug 29 05:56:31 2021 +0200

    filesystemmodel: Don't use G_TYPE_POINTER
    
    It's a GError, use G_TYPE_ERROR.

 gtk/gtkfilesystemmodel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkfilesystemmodel.c b/gtk/gtkfilesystemmodel.c
index d27cd6c8f5..9269f88541 100644
--- a/gtk/gtkfilesystemmodel.c
+++ b/gtk/gtkfilesystemmodel.c
@@ -1041,7 +1041,7 @@ _gtk_file_system_model_class_init (GtkFileSystemModelClass *class)
                  G_STRUCT_OFFSET (GtkFileSystemModelClass, finished_loading),
                  NULL, NULL,
                  NULL,
-                 G_TYPE_NONE, 1, G_TYPE_POINTER);
+                 G_TYPE_NONE, 1, G_TYPE_ERROR);
 }
 
 static void


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