[libgda/LIBGDA_5.2] GdauiSet: fix gdaui_set_source_get_ref_columns() return value



commit 9840291defc5ced0d67756bfccf1c4cbbf7ca22e
Author: John Heenan <john zgus com>
Date:   Thu Oct 10 18:17:59 2019 -0500

    GdauiSet: fix gdaui_set_source_get_ref_columns() return value
    
    Fix issue #123

 libgda-ui/gdaui-set.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgda-ui/gdaui-set.c b/libgda-ui/gdaui-set.c
index 491106423..87a81d962 100644
--- a/libgda-ui/gdaui-set.c
+++ b/libgda-ui/gdaui-set.c
@@ -433,7 +433,7 @@ gint*
 gdaui_set_source_get_ref_columns  (GdauiSetSource *s)
 {
        g_return_val_if_fail (s, NULL);
-       return s->shown_cols_index;
+       return s->ref_cols_index;
 }
 
 /**


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