[file-roller/wip/gtk4: 12/54] gtk4: fixed type for icons in lists




commit 8e1cb638cd506b04ed9e8d8504609c0a0e5e14f0
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu Sep 29 16:44:19 2022 +0200

    gtk4: fixed type for icons in lists

 src/fr-window.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/fr-window.c b/src/fr-window.c
index 2617030c..4d5f750b 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -4874,9 +4874,9 @@ fr_window_construct (FrWindow *window)
 
        private->list_store = gtk_list_store_new (NUMBER_OF_COLUMNS,
                                                  G_TYPE_POINTER,
-                                                 GDK_TYPE_PIXBUF,
+                                                 G_TYPE_ICON,
                                                  G_TYPE_STRING,
-                                                 GDK_TYPE_PIXBUF,
+                                                 G_TYPE_ICON,
                                                  G_TYPE_STRING,
                                                  G_TYPE_STRING,
                                                  G_TYPE_STRING,
@@ -4971,7 +4971,7 @@ fr_window_construct (FrWindow *window)
 
        private->tree_store = gtk_tree_store_new (TREE_NUMBER_OF_COLUMNS,
                                                       G_TYPE_STRING,
-                                                      GDK_TYPE_PIXBUF,
+                                                      G_TYPE_ICON,
                                                       G_TYPE_STRING,
                                                       PANGO_TYPE_WEIGHT);
        private->tree_view = gtk_tree_view_new_with_model (GTK_TREE_MODEL (private->tree_store));


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