diff options
author | Logan Rathbone <poprocks@gmail.com> | 2023-02-01 09:09:28 -0500 |
---|---|---|
committer | Logan Rathbone <poprocks@gmail.com> | 2023-02-01 21:00:29 -0500 |
commit | 7a80b6702a3a3f2eac26640b369c9c87ae163041 (patch) | |
tree | a4d1e3a15300294c9ebaec55ca0b470b9e971840 /src/util.c | |
parent | e2df75b842334878f0b234eed6613544f102af48 (diff) | |
download | zenity-7a80b6702a3a3f2eac26640b369c9c87ae163041.tar.gz |
tree: Initial port to GtkColumnView
There are likely bugs.
Search functionality still needs to be implemented.
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -105,6 +105,10 @@ zenity_util_load_ui_file (const char *root_widget, ...) g_ptr_array_add (ptrarray, NULL); objects = (char **)g_ptr_array_free (ptrarray, FALSE); + /* Make sure this custom widget type is registered before this initial + * GtkBuilder method call. */ + g_type_ensure (ZENITY_TREE_TYPE_COLUMN_VIEW); + result = gtk_builder_add_objects_from_resource (builder, ZENITY_UI_RESOURCE_PATH, (const char **)objects, |