[libgda] GdauiSet: fix gdaui_set_source_get_ref_columns() return value



commit 18b879df4e6f601a36329320cb9eaf7acb4b8b63
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 e9c48e643..be9cb5523 100644
--- a/libgda-ui/gdaui-set.c
+++ b/libgda-ui/gdaui-set.c
@@ -427,7 +427,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]