[nautilus] column: Fix property setting/getting
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] column: Fix property setting/getting
- Date: Sun, 7 Aug 2022 03:23:31 +0000 (UTC)
commit 2aa8f1717ce350a410cde3f5ca7d021bb5268cf5
Author: António Fernandes <antoniof gnome org>
Date: Sun Aug 7 04:16:14 2022 +0100
column: Fix property setting/getting
Was spamming warnings on list view.
Left over from c60d3099edca0558601c50c32f7307a26dda2532
libnautilus-extension/nautilus-column.c | 4 ++--
1 file 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]