[gnome-autoar/antoniof-master-patch-94507] compressor: Fix :filter getting




commit f83350c800ce1d0d6172d69144bb2db0200a3ab1
Author: António Fernandes <antoniojpfernandes gmail com>
Date:   Thu Jul 15 15:24:42 2021 +0000

    compressor: Fix :filter getting
    
    We provide the format when asked for filter.
    
    Fix an obvious oversight
    from commit
    2901c81ddbcd5dbd1e123ec504f473bd9010db1f

 gnome-autoar/autoar-compressor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnome-autoar/autoar-compressor.c b/gnome-autoar/autoar-compressor.c
index 16f940f..8012fd0 100644
--- a/gnome-autoar/autoar-compressor.c
+++ b/gnome-autoar/autoar-compressor.c
@@ -166,7 +166,7 @@ autoar_compressor_get_property (GObject    *object,
       g_value_set_enum (value, self->format);
       break;
     case PROP_FILTER:
-      g_value_set_enum (value, self->format);
+      g_value_set_enum (value, self->filter);
       break;
     case PROP_CREATE_TOP_LEVEL_DIRECTORY:
       g_value_set_boolean (value, self->create_top_level_directory);


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