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




commit 7366f5099aea8cd470ecb7729ee05bbcd58a8f1b
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]