diff options
author | António Fernandes <antoniof@gnome.org> | 2022-08-07 04:16:14 +0100 |
---|---|---|
committer | António Fernandes <antoniof@gnome.org> | 2022-08-07 04:16:14 +0100 |
commit | 2aa8f1717ce350a410cde3f5ca7d021bb5268cf5 (patch) | |
tree | 19f1bbc6c9f0c960d476ffda4614413a5dd1ac76 /libnautilus-extension/nautilus-column.c | |
parent | 289ac9b85de444aca3fd0ad4ab97a9b13f549302 (diff) | |
download | nautilus-2aa8f1717ce350a410cde3f5ca7d021bb5268cf5.tar.gz |
column: Fix property setting/getting
Was spamming warnings on list view.
Left over from c60d3099edca0558601c50c32f7307a26dda2532
Diffstat (limited to 'libnautilus-extension/nautilus-column.c')
-rw-r--r-- | libnautilus-extension/nautilus-column.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnautilus-extension/nautilus-column.c b/libnautilus-extension/nautilus-column.c index e39cbf6fb..c5e9994c5 100644 --- a/libnautilus-extension/nautilus-column.c +++ b/libnautilus-extension/nautilus-column.c @@ -123,7 +123,7 @@ nautilus_column_get_property (GObject *object, case PROP_DEFAULT_SORT_ORDER: { - g_value_set_enum (value, column->default_sort_order); + g_value_set_int (value, column->default_sort_order); } break; @@ -188,7 +188,7 @@ nautilus_column_set_property (GObject *object, case PROP_DEFAULT_SORT_ORDER: { - column->default_sort_order = g_value_get_enum (value); + column->default_sort_order = g_value_get_int (value); g_object_notify (object, "default-sort-order"); } break; |