## Migration from 1.X versions

## Global changes

- The `db_shell_new()` has been removed as this kind of code is more an application code and not a library code

- The `GnomeDbBrowser` widget has been removed, use the `GnomeDbSelector` widget as a replacement; there is also a new application named gnome-db-browser which lets the user browse through the objects in a dictionary.

- The `GnomeDbCombo` now inherits from `GtkComboBox` and has more features, the `gnome_db_combo_get_column()` has been removed as the new combo can display more than one column at a time.

- The `gnome_db_config*()` have all been removed as Libgnomedb now relies entirely on Libgda for the data sources management and GConf is not used anymore to keep a list of data sources.

- The `GnomeDbConnectionSelector` class has been removed as it was not implemented.

- The `GnomeDbControlWidget`, `GnomeDbControl` and `GnomeDbWindow` classes have been removed as Bonobo is not used anymore

- The `GnomeDbDataSourceSelector` widget now inherits `GtkComboBox` instead of the `GtkOptionMenu`

- The `GnomeDbForm` and `GnomeDbGrid` widgets have had many changes, see This section for more information.

- The `gnome-db-i18n.h` file has been removed, the standard `glib/gi18n-lib.h` is now used

- The `GnomeDbIconList` widget has been removed as it was not fully implemented

- The `GnomeDbList` widget has been removed, use `GnomeDbGrid instead`

- The `gnome_db_model_to_gtk_tree_view()` has been replaced by the `GnomeDbDataStore` object which implements the `GtkTreeModel` interface and can be used directly as the data model of a `GtkTreeView` widget

- The `GnomeDbProviderSelector` widget now inherits the `GnomeDbCombo` widget and has an improved API.

- The `GnomeDbQueryBuilder`, `GnomeDbTableEditor` and `SqlViewer` widgets have been removed because they were not useable.

- Some utility functions in `gnome-db-util.h` have been removed if they were not used anymore in Libgnomedb.

- The `table_properties_dialog()`, `tables_page_*()` and `db_connect*()` have been removed because they offered little functionality on top of other GnomeDb widgets.