]> saetta.ns0.it Git - libgdaex/commitdiff
Removed deprecations.
authorAndrea Zagli <a.zagli@libero.it>
Wed, 13 Aug 2025 21:12:42 +0000 (23:12 +0200)
committerAndrea Zagli <a.zagli@libero.it>
Wed, 13 Aug 2025 21:12:42 +0000 (23:12 +0200)
src/gdaex.c
src/gdaex.h

index f042c2c3baf1fd6361ea7665c6e868675fc4ae34..2f7efcc491e98d322eed58ed5954920398d3ec95 100644 (file)
@@ -1,7 +1,7 @@
 /*
  *  gdaex.c
  *
- *  Copyright (C) 2005-2020 Andrea Zagli <azagli@libero.it>
+ *  Copyright (C) 2005-2025 Andrea Zagli <azagli@libero.it>
  *
  *  This file is part of libgdaex.
  *
@@ -3719,66 +3719,6 @@ gdaex_fill_treemodel_from_datamodel (GdaEx *gdaex,
        gdaex_fill_treemodel_from_datamodel_with_missing_func (gdaex, store, dm, cols_formatted, format_func, NULL, NULL);
 }
 
-G_DEPRECATED_FOR (gdaex_fill_treemodel_from_sql_with_missing_func)
-void
-gdaex_fill_liststore_from_sql_with_missing_func (GdaEx *gdaex,
-                                                 GtkListStore *lstore,
-                                                 const gchar *sql,
-                                                 guint *cols_formatted,
-                                                 GdaExColsFormatFunc format_func,
-                                                 GdaExFillListStoreMissingFunc missing_func, gpointer user_data)
-{
-       GdaDataModel *dm;
-
-       gchar *_sql;
-
-       g_return_if_fail (IS_GDAEX (gdaex));
-       g_return_if_fail (sql != NULL);
-
-       _sql = g_strstrip (g_strdup (sql));
-
-       g_return_if_fail (g_strcmp0 (_sql, "") != 0);
-
-       dm = gdaex_query (gdaex, _sql);
-       g_free (_sql);
-       gdaex_fill_liststore_from_datamodel_with_missing_func (gdaex, lstore, dm, cols_formatted, format_func, missing_func, user_data);
-       g_object_unref (dm);
-}
-
-G_DEPRECATED_FOR (gdaex_fill_treemodel_from_datamodel_with_missing_func)
-void
-gdaex_fill_liststore_from_datamodel_with_missing_func (GdaEx *gdaex,
-                                                       GtkListStore *lstore,
-                                                       GdaDataModel *dm,
-                                                       guint *cols_formatted,
-                                                       GdaExColsFormatFunc format_func,
-                                                       GdaExFillListStoreMissingFunc missing_func, gpointer user_data)
-{
-       gdaex_fill_treemodel_from_datamodel_with_missing_func (gdaex, GTK_TREE_MODEL (lstore), dm, cols_formatted, format_func, missing_func, user_data);
-}
-
-G_DEPRECATED_FOR (gdaex_fill_treemodel_from_sql)
-void
-gdaex_fill_liststore_from_sql (GdaEx *gdaex,
-                               GtkListStore *lstore,
-                               const gchar *sql,
-                               guint *cols_formatted,
-                               GdaExColsFormatFunc format_func)
-{
-       gdaex_fill_liststore_from_sql_with_missing_func (gdaex, lstore, sql, cols_formatted, format_func, NULL, NULL);
-}
-
-G_DEPRECATED_FOR (gdaex_fill_treemodel_from_datamodel)
-void
-gdaex_fill_liststore_from_datamodel (GdaEx *gdaex,
-                                     GtkListStore *lstore,
-                                     GdaDataModel *dm,
-                                     guint *cols_formatted,
-                                     GdaExColsFormatFunc format_func)
-{
-       gdaex_fill_liststore_from_datamodel_with_missing_func (gdaex, lstore, dm, cols_formatted, format_func, NULL, NULL);
-}
-
 GdaSqlBuilder
 *gdaex_get_gda_sqlbuilder_from_hashtable (GdaEx *gdaex,
                                           GdaExSqlType sqltype,
index 828a1144ff7e1fd7f270ff822a5d229c49080e42..c3e880b1b9bbec5f57bc4c6697ed294f96e321cb 100644 (file)
@@ -1,7 +1,7 @@
 /*
  *  gdaex.h
  *
- *  Copyright (C) 2005-2020 Andrea Zagli <azagli@libero.it>
+ *  Copyright (C) 2005-2025 Andrea Zagli <azagli@libero.it>
  *
  *  This file is part of libgdaex.
  *
@@ -282,39 +282,6 @@ void gdaex_fill_treemodel_from_datamodel (GdaEx *gdaex,
                                           guint *cols_formatted,
                                           GdaExColsFormatFunc format_func);
 
-G_DEPRECATED_FOR (GdaExFillTreeModelMissingFunc)
-typedef void (*GdaExFillListStoreMissingFunc) (GtkListStore *lstore, GtkTreeIter *iter, gpointer user_data);
-
-G_DEPRECATED_FOR (gdaex_fill_treemodel_from_sql_with_missing_func)
-void gdaex_fill_liststore_from_sql_with_missing_func (GdaEx *gdaex,
-                                                      GtkListStore *lstore,
-                                                      const gchar *sql,
-                                                      guint *cols_formatted,
-                                                      GdaExColsFormatFunc format_func,
-                                                      GdaExFillListStoreMissingFunc missing_func, gpointer user_data);
-
-G_DEPRECATED_FOR (gdaex_fill_treemodel_from_datamodel_with_missing_func)
-void gdaex_fill_liststore_from_datamodel_with_missing_func (GdaEx *gdaex,
-                                                            GtkListStore *lstore,
-                                                            GdaDataModel *dm,
-                                                            guint *cols_formatted,
-                                                            GdaExColsFormatFunc format_func,
-                                                            GdaExFillListStoreMissingFunc missing_func, gpointer user_data);
-
-G_DEPRECATED_FOR (gdaex_fill_treemodel_from_sql)
-void gdaex_fill_liststore_from_sql (GdaEx *gdaex,
-                                    GtkListStore *lstore,
-                                    const gchar *sql,
-                                    guint *cols_formatted,
-                                    GdaExColsFormatFunc format_func);
-
-G_DEPRECATED_FOR (gdaex_fill_treemodel_from_datamodel)
-void gdaex_fill_liststore_from_datamodel (GdaEx *gdaex,
-                                          GtkListStore *lstore,
-                                          GdaDataModel *dm,
-                                          guint *cols_formatted,
-                                          GdaExColsFormatFunc format_func);
-
 typedef enum
 {
        GDAEX_SQL_SELECT,