[libgda] Fix the previous patch deprecating GtkVBox.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Fix the previous patch deprecating GtkVBox.
- Date: Mon, 4 Jul 2011 11:41:46 +0000 (UTC)
commit eb5012014516f8be5bbb2f5215487e2a828d89d9
Author: Murray Cumming <murrayc murrayc com>
Date: Mon Jul 4 13:40:27 2011 +0200
Fix the previous patch deprecating GtkVBox.
It is gtk_orientable_set_orientation(), not gtk_box_set_orientation().
control-center/gdaui-dsn-editor.c | 2 +-
libgda-ui/gdaui-basic-form.c | 2 +-
libgda-ui/gdaui-cloud.c | 2 +-
libgda-ui/gdaui-data-filter.c | 2 +-
libgda-ui/gdaui-form.c | 2 +-
libgda-ui/gdaui-grid.c | 2 +-
libgda-ui/gdaui-login.c | 2 +-
libgda-ui/gdaui-rt-editor.c | 2 +-
libgda-ui/gdaui-server-operation.c | 2 +-
libgda-ui/internal/gdaui-provider-auth-editor.c | 2 +-
libgda-ui/internal/gdaui-provider-spec-editor.c | 2 +-
tools/browser/common/objects-cloud.c | 2 +-
tools/browser/common/ui-formgrid.c | 2 +-
tools/browser/data-manager/data-console.c | 2 +-
.../browser/data-manager/data-favorite-selector.c | 2 +-
.../data-manager/data-manager-perspective.c | 2 +-
tools/browser/data-manager/data-source-editor.c | 2 +-
tools/browser/data-manager/data-widget.c | 2 +-
tools/browser/data-manager/ui-spec-editor.c | 2 +-
tools/browser/data-manager/xml-spec-editor.c | 2 +-
.../browser/dummy-perspective/dummy-perspective.c | 2 +-
tools/browser/ldap-browser/class-properties.c | 2 +-
tools/browser/ldap-browser/entry-properties.c | 2 +-
tools/browser/ldap-browser/filter-editor.c | 2 +-
.../ldap-browser/ldap-browser-perspective.c | 2 +-
tools/browser/ldap-browser/ldap-classes-page.c | 2 +-
tools/browser/ldap-browser/ldap-entries-page.c | 2 +-
.../browser/ldap-browser/ldap-favorite-selector.c | 2 +-
tools/browser/ldap-browser/ldap-search-page.c | 2 +-
tools/browser/query-exec/query-console-page.c | 2 +-
tools/browser/query-exec/query-editor.c | 2 +-
tools/browser/query-exec/query-exec-perspective.c | 2 +-
tools/browser/query-exec/query-favorite-selector.c | 2 +-
tools/browser/query-exec/query-result.c | 2 +-
tools/browser/schema-browser/favorite-selector.c | 2 +-
tools/browser/schema-browser/objects-index.c | 2 +-
tools/browser/schema-browser/relations-diagram.c | 2 +-
.../schema-browser/schema-browser-perspective.c | 2 +-
tools/browser/schema-browser/table-columns.c | 2 +-
tools/browser/schema-browser/table-info.c | 2 +-
tools/browser/schema-browser/table-preferences.c | 2 +-
tools/browser/schema-browser/table-relations.c | 2 +-
42 files changed, 42 insertions(+), 42 deletions(-)
---
diff --git a/control-center/gdaui-dsn-editor.c b/control-center/gdaui-dsn-editor.c
index 882394e..7495002 100644
--- a/control-center/gdaui-dsn-editor.c
+++ b/control-center/gdaui-dsn-editor.c
@@ -109,7 +109,7 @@ gdaui_dsn_editor_init (GdauiDsnEditor *config, G_GNUC_UNUSED GdauiDsnEditorClass
g_return_if_fail (GDAUI_IS_DSN_EDITOR (config));
- gtk_box_set_orientation (GTK_BOX (config), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (config), GTK_ORIENTATION_VERTICAL);
/* allocate private structure */
config->priv = g_new0 (GdauiDsnEditorPrivate, 1);
diff --git a/libgda-ui/gdaui-basic-form.c b/libgda-ui/gdaui-basic-form.c
index a28b399..19772c8 100644
--- a/libgda-ui/gdaui-basic-form.c
+++ b/libgda-ui/gdaui-basic-form.c
@@ -400,7 +400,7 @@ gdaui_basic_form_init (GdauiBasicForm *wid)
wid->priv->show_actions = FALSE;
wid->priv->entries_auto_default = FALSE;
- gtk_box_set_orientation (GTK_BOX (wid), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (wid), GTK_ORIENTATION_VERTICAL);
evbox = gtk_event_box_new ();
gtk_widget_show (evbox);
diff --git a/libgda-ui/gdaui-cloud.c b/libgda-ui/gdaui-cloud.c
index a18c104..474edf6 100644
--- a/libgda-ui/gdaui-cloud.c
+++ b/libgda-ui/gdaui-cloud.c
@@ -347,7 +347,7 @@ gdaui_cloud_init (GdauiCloud *cloud)
cloud->priv->selected_tags = NULL;
cloud->priv->selection_mode = GTK_SELECTION_SINGLE;
- gtk_box_set_orientation (GTK_BOX (cloud), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (cloud), GTK_ORIENTATION_VERTICAL);
/* text buffer */
cloud->priv->tbuffer = gtk_text_buffer_new (NULL);
diff --git a/libgda-ui/gdaui-data-filter.c b/libgda-ui/gdaui-data-filter.c
index b26eaf1..484f6b1 100644
--- a/libgda-ui/gdaui-data-filter.c
+++ b/libgda-ui/gdaui-data-filter.c
@@ -199,7 +199,7 @@ gdaui_data_filter_init (GdauiDataFilter * wid)
wid->priv->data_widget = NULL;
wid->priv->proxy = NULL;
- gtk_box_set_orientation (GTK_BOX (wid), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (wid), GTK_ORIENTATION_VERTICAL);
table = gtk_table_new (2, 2, FALSE);
gtk_table_set_row_spacing (GTK_TABLE (table), 1, 10);
diff --git a/libgda-ui/gdaui-form.c b/libgda-ui/gdaui-form.c
index 32130da..c78bd65 100644
--- a/libgda-ui/gdaui-form.c
+++ b/libgda-ui/gdaui-form.c
@@ -186,7 +186,7 @@ gdaui_form_init (GdauiForm *form)
form->priv->raw_form = NULL;
form->priv->info = NULL;
- gtk_box_set_orientation (GTK_BOX (form), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (form), GTK_ORIENTATION_VERTICAL);
form->priv->raw_form = gdaui_raw_form_new (NULL);
gtk_box_pack_start (GTK_BOX (form), form->priv->raw_form, FALSE, FALSE, 0);
diff --git a/libgda-ui/gdaui-grid.c b/libgda-ui/gdaui-grid.c
index 13eaf4b..260330c 100644
--- a/libgda-ui/gdaui-grid.c
+++ b/libgda-ui/gdaui-grid.c
@@ -178,7 +178,7 @@ gdaui_grid_init (GdauiGrid *grid)
grid->priv->raw_grid = NULL;
grid->priv->info = NULL;
- gtk_box_set_orientation (GTK_BOX (grid), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (grid), GTK_ORIENTATION_VERTICAL);
sw = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
diff --git a/libgda-ui/gdaui-login.c b/libgda-ui/gdaui-login.c
index 6311318..1f4f2be 100644
--- a/libgda-ui/gdaui-login.c
+++ b/libgda-ui/gdaui-login.c
@@ -151,7 +151,7 @@ gdaui_login_init (GdauiLogin *login, G_GNUC_UNUSED GdauiLoginClass *klass)
login->priv->mode = GDA_UI_LOGIN_ENABLE_CONTROL_CENTRE_MODE;
memset (&(login->priv->dsn_info), 0, sizeof (GdaDsnInfo));
- gtk_box_set_orientation (GTK_BOX (login), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (login), GTK_ORIENTATION_VERTICAL);
/* catch DSN definition changes */
GdaConfig *conf = gda_config_get ();
diff --git a/libgda-ui/gdaui-rt-editor.c b/libgda-ui/gdaui-rt-editor.c
index bd19e2e..7f482a5 100644
--- a/libgda-ui/gdaui-rt-editor.c
+++ b/libgda-ui/gdaui-rt-editor.c
@@ -292,7 +292,7 @@ gdaui_rt_editor_init (GdauiRtEditor *rte)
{
GtkWidget *sw, *textview, *toolbar;
- gtk_box_set_orientation (GTK_BOX (rte), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (rte), GTK_ORIENTATION_VERTICAL);
sw = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw),
diff --git a/libgda-ui/gdaui-server-operation.c b/libgda-ui/gdaui-server-operation.c
index 1edb006..c473455 100644
--- a/libgda-ui/gdaui-server-operation.c
+++ b/libgda-ui/gdaui-server-operation.c
@@ -216,7 +216,7 @@ gdaui_server_operation_init (GdauiServerOperation * wid)
#endif
wid->priv->opt_header = FALSE;
- gtk_box_set_orientation (GTK_BOX (wid), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (wid), GTK_ORIENTATION_VERTICAL);
}
diff --git a/libgda-ui/internal/gdaui-provider-auth-editor.c b/libgda-ui/internal/gdaui-provider-auth-editor.c
index 9ccf3a9..3d596ef 100644
--- a/libgda-ui/internal/gdaui-provider-auth-editor.c
+++ b/libgda-ui/internal/gdaui-provider-auth-editor.c
@@ -110,7 +110,7 @@ gdaui_provider_auth_editor_init (GdauiProviderAuthEditor *auth,
{
g_return_if_fail (GDAUI_IS_PROVIDER_AUTH_EDITOR (auth));
- gtk_box_set_orientation (GTK_BOX (config), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (auth), GTK_ORIENTATION_VERTICAL);
auth->priv = g_new0 (GdauiProviderAuthEditorPrivate, 1);
auth->priv->provider = NULL;
diff --git a/libgda-ui/internal/gdaui-provider-spec-editor.c b/libgda-ui/internal/gdaui-provider-spec-editor.c
index 9c33ce2..33ee8a5 100644
--- a/libgda-ui/internal/gdaui-provider-spec-editor.c
+++ b/libgda-ui/internal/gdaui-provider-spec-editor.c
@@ -233,7 +233,7 @@ gdaui_provider_spec_editor_init (GdauiProviderSpecEditor *spec,
{
g_return_if_fail (GDAUI_IS_PROVIDER_SPEC_EDITOR (spec));
- gtk_box_set_orientation (GTK_BOX (config), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (spec), GTK_ORIENTATION_VERTICAL);
spec->priv = g_new0 (GdauiProviderSpecEditorPrivate, 1);
spec->priv->type = NO_PROVIDER;
diff --git a/tools/browser/common/objects-cloud.c b/tools/browser/common/objects-cloud.c
index 13c56ec..59818a4 100644
--- a/tools/browser/common/objects-cloud.c
+++ b/tools/browser/common/objects-cloud.c
@@ -87,7 +87,7 @@ objects_cloud_init (ObjectsCloud *cloud, G_GNUC_UNUSED ObjectsCloudClass *klass)
cloud->priv->show_schemas = FALSE;
cloud->priv->tbuffer = gtk_text_buffer_new (NULL);
- gtk_box_set_orientation (GTK_BOX (cloud), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (cloud), GTK_ORIENTATION_VERTICAL);
gtk_text_buffer_create_tag (cloud->priv->tbuffer, "section",
"weight", PANGO_WEIGHT_BOLD,
diff --git a/tools/browser/common/ui-formgrid.c b/tools/browser/common/ui-formgrid.c
index 89b2e87..7fbf161 100644
--- a/tools/browser/common/ui-formgrid.c
+++ b/tools/browser/common/ui-formgrid.c
@@ -213,7 +213,7 @@ ui_formgrid_init (UiFormGrid *formgrid)
formgrid->priv->autoupdate_possible = FALSE;
formgrid->priv->scroll_form = FALSE;
- gtk_box_set_orientation (GTK_BOX (formgrid), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (formgrid), GTK_ORIENTATION_VERTICAL);
/* notebook */
formgrid->priv->nb = gtk_notebook_new ();
diff --git a/tools/browser/data-manager/data-console.c b/tools/browser/data-manager/data-console.c
index ab1680c..364e0a3 100644
--- a/tools/browser/data-manager/data-console.c
+++ b/tools/browser/data-manager/data-console.c
@@ -175,7 +175,7 @@ data_console_init (DataConsole *dconsole, G_GNUC_UNUSED DataConsoleClass *klass)
dconsole->priv->fav_id = -1;
dconsole->priv->popup_container = NULL;
- gtk_box_set_orientation (GTK_BOX (dconsole), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (dconsole), GTK_ORIENTATION_VERTICAL);
}
static void
diff --git a/tools/browser/data-manager/data-favorite-selector.c b/tools/browser/data-manager/data-favorite-selector.c
index dface0d..9fcdefa 100644
--- a/tools/browser/data-manager/data-favorite-selector.c
+++ b/tools/browser/data-manager/data-favorite-selector.c
@@ -118,7 +118,7 @@ data_favorite_selector_init (DataFavoriteSelector *tsel, G_GNUC_UNUSED DataFavor
tsel->priv->idle_update_favorites = 0;
tsel->priv->prop_save_timeout = 0;
- gtk_box_set_orientation (GTK_BOX (tsel), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (tsel), GTK_ORIENTATION_VERTICAL);
}
static void
diff --git a/tools/browser/data-manager/data-manager-perspective.c b/tools/browser/data-manager/data-manager-perspective.c
index 5abbff8..1e13df6 100644
--- a/tools/browser/data-manager/data-manager-perspective.c
+++ b/tools/browser/data-manager/data-manager-perspective.c
@@ -126,7 +126,7 @@ data_manager_perspective_init (DataManagerPerspective *perspective)
perspective->priv = g_new0 (DataManagerPerspectivePriv, 1);
perspective->priv->favorites_shown = TRUE;
- gtk_box_set_orientation (GTK_BOX (perspective), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (perspective), GTK_ORIENTATION_VERTICAL);
}
static void fav_selection_changed_cb (GtkWidget *widget, gint fav_id, BrowserFavoritesType fav_type,
diff --git a/tools/browser/data-manager/data-source-editor.c b/tools/browser/data-manager/data-source-editor.c
index c7403bd..ace5e11 100644
--- a/tools/browser/data-manager/data-source-editor.c
+++ b/tools/browser/data-manager/data-source-editor.c
@@ -100,7 +100,7 @@ data_source_editor_init (DataSourceEditor *editor)
{
GtkWidget *vpaned;
- gtk_box_set_orientation (GTK_BOX (editor), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (editor), GTK_ORIENTATION_VERTICAL);
editor->priv = g_new0 (DataSourceEditorPrivate, 1);
editor->priv->attributes = gda_set_new_inline (4,
diff --git a/tools/browser/data-manager/data-widget.c b/tools/browser/data-manager/data-widget.c
index 55a8d3c..6bba32d 100644
--- a/tools/browser/data-manager/data-widget.c
+++ b/tools/browser/data-manager/data-widget.c
@@ -99,7 +99,7 @@ data_widget_init (DataWidget *dwid, G_GNUC_UNUSED DataWidgetClass *klass)
/* allocate private structure */
dwid->priv = g_new0 (DataWidgetPrivate, 1);
- gtk_box_set_orientation (GTK_BOX (dwid), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (dwid), GTK_ORIENTATION_VERTICAL);
/* init Widgets's structure */
dwid->priv->top_nb = gtk_notebook_new ();
diff --git a/tools/browser/data-manager/ui-spec-editor.c b/tools/browser/data-manager/ui-spec-editor.c
index 0a8b3d3..43c7b80 100644
--- a/tools/browser/data-manager/ui-spec-editor.c
+++ b/tools/browser/data-manager/ui-spec-editor.c
@@ -228,7 +228,7 @@ ui_spec_editor_init (UiSpecEditor *sped, G_GNUC_UNUSED UiSpecEditorClass *klass)
/* allocate private structure */
sped->priv = g_new0 (UiSpecEditorPrivate, 1);
- gtk_box_set_orientation (GTK_BOX (sped), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (sped), GTK_ORIENTATION_VERTICAL);
GtkWidget *hpaned;
hpaned = gtk_hpaned_new ();
diff --git a/tools/browser/data-manager/xml-spec-editor.c b/tools/browser/data-manager/xml-spec-editor.c
index 4f7c0a8..153b843 100644
--- a/tools/browser/data-manager/xml-spec-editor.c
+++ b/tools/browser/data-manager/xml-spec-editor.c
@@ -90,7 +90,7 @@ xml_spec_editor_init (XmlSpecEditor *sped, G_GNUC_UNUSED XmlSpecEditorClass *kla
sped->priv = g_new0 (XmlSpecEditorPrivate, 1);
sped->priv->signal_editor_changed_id = 0;
- gtk_box_set_orientation (GTK_BOX (sped), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (sped), GTK_ORIENTATION_VERTICAL);
}
GType
diff --git a/tools/browser/dummy-perspective/dummy-perspective.c b/tools/browser/dummy-perspective/dummy-perspective.c
index 22da437..f6c8a42 100644
--- a/tools/browser/dummy-perspective/dummy-perspective.c
+++ b/tools/browser/dummy-perspective/dummy-perspective.c
@@ -96,7 +96,7 @@ dummy_perspective_init (DummyPerspective *perspective)
{
GtkWidget *wid;
- gtk_box_set_orientation (GTK_BOX (perspective), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (perspective), GTK_ORIENTATION_VERTICAL);
wid = gtk_label_new ("");
gtk_label_set_markup (GTK_LABEL (wid),
diff --git a/tools/browser/ldap-browser/class-properties.c b/tools/browser/ldap-browser/class-properties.c
index acd7222..5af9838 100644
--- a/tools/browser/ldap-browser/class-properties.c
+++ b/tools/browser/ldap-browser/class-properties.c
@@ -77,7 +77,7 @@ class_properties_init (ClassProperties *cprop, G_GNUC_UNUSED ClassPropertiesClas
cprop->priv = g_new0 (ClassPropertiesPrivate, 1);
cprop->priv->hovering_over_link = FALSE;
- gtk_box_set_orientation (GTK_BOX (cprop), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (cprop), GTK_ORIENTATION_VERTICAL);
}
static void
diff --git a/tools/browser/ldap-browser/entry-properties.c b/tools/browser/ldap-browser/entry-properties.c
index 1a89055..54d5d57 100644
--- a/tools/browser/ldap-browser/entry-properties.c
+++ b/tools/browser/ldap-browser/entry-properties.c
@@ -93,7 +93,7 @@ entry_properties_init (EntryProperties *eprop, G_GNUC_UNUSED EntryPropertiesClas
eprop->priv = g_new0 (EntryPropertiesPrivate, 1);
eprop->priv->hovering_over_link = FALSE;
- gtk_box_set_orientation (GTK_BOX (eprop), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (eprop), GTK_ORIENTATION_VERTICAL);
}
static void
diff --git a/tools/browser/ldap-browser/filter-editor.c b/tools/browser/ldap-browser/filter-editor.c
index 2181e7c..1c99fb3 100644
--- a/tools/browser/ldap-browser/filter-editor.c
+++ b/tools/browser/ldap-browser/filter-editor.c
@@ -75,7 +75,7 @@ filter_editor_init (FilterEditor *feditor, G_GNUC_UNUSED FilterEditorClass *klas
feditor->priv->bcnc = NULL;
feditor->priv->default_scope = GDA_LDAP_SEARCH_SUBTREE;
- gtk_box_set_orientation (GTK_BOX (feditor), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (feditor), GTK_ORIENTATION_VERTICAL);
}
static void
diff --git a/tools/browser/ldap-browser/ldap-browser-perspective.c b/tools/browser/ldap-browser/ldap-browser-perspective.c
index 690bf64..2bb7eb9 100644
--- a/tools/browser/ldap-browser/ldap-browser-perspective.c
+++ b/tools/browser/ldap-browser/ldap-browser-perspective.c
@@ -118,7 +118,7 @@ ldap_browser_perspective_init (LdapBrowserPerspective *perspective)
perspective->priv = g_new0 (LdapBrowserPerspectivePrivate, 1);
perspective->priv->favorites_shown = TRUE;
- gtk_box_set_orientation (GTK_BOX (perspective), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (perspective), GTK_ORIENTATION_VERTICAL);
}
static void
diff --git a/tools/browser/ldap-browser/ldap-classes-page.c b/tools/browser/ldap-browser/ldap-classes-page.c
index 93c024b..151e087 100644
--- a/tools/browser/ldap-browser/ldap-classes-page.c
+++ b/tools/browser/ldap-browser/ldap-classes-page.c
@@ -118,7 +118,7 @@ ldap_classes_page_init (LdapClassesPage *ebrowser, G_GNUC_UNUSED LdapClassesPage
ebrowser->priv->history_max_len = 20;
ebrowser->priv->add_hist_item = TRUE;
- gtk_box_set_orientation (GTK_BOX (page), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (ebrowser), GTK_ORIENTATION_VERTICAL);
}
static void
diff --git a/tools/browser/ldap-browser/ldap-entries-page.c b/tools/browser/ldap-browser/ldap-entries-page.c
index 35b082e..39a15f6 100644
--- a/tools/browser/ldap-browser/ldap-entries-page.c
+++ b/tools/browser/ldap-browser/ldap-entries-page.c
@@ -119,7 +119,7 @@ ldap_entries_page_init (LdapEntriesPage *ebrowser, G_GNUC_UNUSED LdapEntriesPage
ebrowser->priv->history_max_len = 20;
ebrowser->priv->add_hist_item = TRUE;
- gtk_box_set_orientation (GTK_BOX (ebrowser), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (ebrowser), GTK_ORIENTATION_VERTICAL);
}
static void
diff --git a/tools/browser/ldap-browser/ldap-favorite-selector.c b/tools/browser/ldap-browser/ldap-favorite-selector.c
index 0b7ab17..add0d65 100644
--- a/tools/browser/ldap-browser/ldap-favorite-selector.c
+++ b/tools/browser/ldap-browser/ldap-favorite-selector.c
@@ -107,7 +107,7 @@ ldap_favorite_selector_init (LdapFavoriteSelector *fsel, G_GNUC_UNUSED LdapFavor
fsel->priv->idle_update_favorites = 0;
fsel->priv->prop_save_timeout = 0;
- gtk_box_set_orientation (GTK_BOX (fsel), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (fsel), GTK_ORIENTATION_VERTICAL);
}
static void
diff --git a/tools/browser/ldap-browser/ldap-search-page.c b/tools/browser/ldap-browser/ldap-search-page.c
index 5301ecd..8e12477 100644
--- a/tools/browser/ldap-browser/ldap-search-page.c
+++ b/tools/browser/ldap-browser/ldap-search-page.c
@@ -104,7 +104,7 @@ ldap_search_page_init (LdapSearchPage *epage, G_GNUC_UNUSED LdapSearchPageClass
epage->priv->history_max_len = 20;
epage->priv->add_hist_item = TRUE;
- gtk_box_set_orientation (GTK_BOX (epage), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (epage), GTK_ORIENTATION_VERTICAL);
}
static void
diff --git a/tools/browser/query-exec/query-console-page.c b/tools/browser/query-exec/query-console-page.c
index 4300681..17f2ea7 100644
--- a/tools/browser/query-exec/query-console-page.c
+++ b/tools/browser/query-exec/query-console-page.c
@@ -185,7 +185,7 @@ query_console_page_init (QueryConsolePage *tconsole, G_GNUC_UNUSED QueryConsoleP
tconsole->priv->agroup = NULL;
tconsole->priv->fav_id = -1;
- gtk_box_set_orientation (GTK_BOX (tconsole), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (tconsole), GTK_ORIENTATION_VERTICAL);
}
static void connection_busy_cb (BrowserConnection *bcnc, gboolean is_busy,
diff --git a/tools/browser/query-exec/query-editor.c b/tools/browser/query-exec/query-editor.c
index 77ee1a5..f3b6f2f 100644
--- a/tools/browser/query-exec/query-editor.c
+++ b/tools/browser/query-exec/query-editor.c
@@ -661,7 +661,7 @@ query_editor_init (QueryEditor *editor, G_GNUC_UNUSED QueryEditorClass *klass)
g_return_if_fail (QUERY_IS_EDITOR (editor));
- gtk_box_set_orientation (GTK_BOX (editor), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (editor), GTK_ORIENTATION_VERTICAL);
/* allocate private structure */
editor->priv = g_new0 (QueryEditorPrivate, 1);
diff --git a/tools/browser/query-exec/query-exec-perspective.c b/tools/browser/query-exec/query-exec-perspective.c
index 2d7e2dc..7912441 100644
--- a/tools/browser/query-exec/query-exec-perspective.c
+++ b/tools/browser/query-exec/query-exec-perspective.c
@@ -130,7 +130,7 @@ query_exec_perspective_init (QueryExecPerspective *perspective)
perspective->priv = g_new0 (QueryExecPerspectivePrivate, 1);
perspective->priv->favorites_shown = TRUE;
- gtk_box_set_orientation (GTK_BOX (perspective), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (perspective), GTK_ORIENTATION_VERTICAL);
}
static void fav_selection_changed_cb (GtkWidget *widget, gint fav_id, BrowserFavoritesType fav_type,
diff --git a/tools/browser/query-exec/query-favorite-selector.c b/tools/browser/query-exec/query-favorite-selector.c
index 73dcb18..0db69be 100644
--- a/tools/browser/query-exec/query-favorite-selector.c
+++ b/tools/browser/query-exec/query-favorite-selector.c
@@ -109,7 +109,7 @@ query_favorite_selector_init (QueryFavoriteSelector *tsel, G_GNUC_UNUSED QueryFa
tsel->priv->idle_update_favorites = 0;
tsel->priv->prop_save_timeout = 0;
- gtk_box_set_orientation (GTK_BOX (tsel), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (tsel), GTK_ORIENTATION_VERTICAL);
}
static void
diff --git a/tools/browser/query-exec/query-result.c b/tools/browser/query-exec/query-result.c
index c33126b..63b3819 100644
--- a/tools/browser/query-exec/query-result.c
+++ b/tools/browser/query-exec/query-result.c
@@ -71,7 +71,7 @@ query_result_init (QueryResult *result, G_GNUC_UNUSED QueryResultClass *klass)
result->priv->hitem = NULL;
result->priv->hash = g_hash_table_new_full (NULL, NULL, NULL, g_object_unref);
- gtk_box_set_orientation (GTK_BOX (result), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (result), GTK_ORIENTATION_VERTICAL);
wid = make_widget_for_notice ();
gtk_box_pack_start (GTK_BOX (result), wid, TRUE, TRUE, 0);
diff --git a/tools/browser/schema-browser/favorite-selector.c b/tools/browser/schema-browser/favorite-selector.c
index 892f2e9..fff975d 100644
--- a/tools/browser/schema-browser/favorite-selector.c
+++ b/tools/browser/schema-browser/favorite-selector.c
@@ -94,7 +94,7 @@ favorite_selector_init (FavoriteSelector *tsel, G_GNUC_UNUSED FavoriteSelectorCl
tsel->priv = g_new0 (FavoriteSelectorPrivate, 1);
tsel->priv->idle_update_favorites = 0;
- gtk_box_set_orientation (GTK_BOX (tsel), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (tsel), GTK_ORIENTATION_VERTICAL);
}
static void
diff --git a/tools/browser/schema-browser/objects-index.c b/tools/browser/schema-browser/objects-index.c
index a01adfa..4b3982f 100644
--- a/tools/browser/schema-browser/objects-index.c
+++ b/tools/browser/schema-browser/objects-index.c
@@ -84,7 +84,7 @@ objects_index_init (ObjectsIndex *index, G_GNUC_UNUSED ObjectsIndexClass *klass)
{
index->priv = g_new0 (ObjectsIndexPrivate, 1);
- gtk_box_set_orientation (GTK_BOX (index), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (index), GTK_ORIENTATION_VERTICAL);
}
static void
diff --git a/tools/browser/schema-browser/relations-diagram.c b/tools/browser/schema-browser/relations-diagram.c
index 270402c..54759aa 100644
--- a/tools/browser/schema-browser/relations-diagram.c
+++ b/tools/browser/schema-browser/relations-diagram.c
@@ -106,7 +106,7 @@ relations_diagram_init (RelationsDiagram *diagram, G_GNUC_UNUSED RelationsDiagra
diagram->priv->fav_id = -1;
diagram->priv->popup_container = NULL;
- gtk_box_set_orientation (GTK_BOX (diagram), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (diagram), GTK_ORIENTATION_VERTICAL);
}
static void
diff --git a/tools/browser/schema-browser/schema-browser-perspective.c b/tools/browser/schema-browser/schema-browser-perspective.c
index 5d9c310..e02a1a5 100644
--- a/tools/browser/schema-browser/schema-browser-perspective.c
+++ b/tools/browser/schema-browser/schema-browser-perspective.c
@@ -119,7 +119,7 @@ schema_browser_perspective_init (SchemaBrowserPerspective *perspective)
perspective->priv = g_new0 (SchemaBrowserPerspectivePrivate, 1);
perspective->priv->favorites_shown = TRUE;
- gtk_box_set_orientation (GTK_BOX (perspective), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (perspective), GTK_ORIENTATION_VERTICAL);
}
static void fav_selection_changed_cb (GtkWidget *widget, gint fav_id, BrowserFavoritesType fav_type,
diff --git a/tools/browser/schema-browser/table-columns.c b/tools/browser/schema-browser/table-columns.c
index 5466ffb..2cf3918 100644
--- a/tools/browser/schema-browser/table-columns.c
+++ b/tools/browser/schema-browser/table-columns.c
@@ -86,7 +86,7 @@ table_columns_init (TableColumns *tcolumns, G_GNUC_UNUSED TableColumnsClass *kla
tcolumns->priv->idle_update_columns = 0;
tcolumns->priv->hovering_over_link = FALSE;
- gtk_box_set_orientation (GTK_BOX (tcolumns), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (tcolumns), GTK_ORIENTATION_VERTICAL);
}
static void
diff --git a/tools/browser/schema-browser/table-info.c b/tools/browser/schema-browser/table-info.c
index 5f2019f..bb7a05a 100644
--- a/tools/browser/schema-browser/table-info.c
+++ b/tools/browser/schema-browser/table-info.c
@@ -114,7 +114,7 @@ table_info_init (TableInfo *tinfo, G_GNUC_UNUSED TableInfoClass *klass)
{
tinfo->priv = g_new0 (TableInfoPrivate, 1);
- gtk_box_set_orientation (GTK_BOX (tinfo), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (tinfo), GTK_ORIENTATION_VERTICAL);
}
static void
diff --git a/tools/browser/schema-browser/table-preferences.c b/tools/browser/schema-browser/table-preferences.c
index 11317f0..0a4b201 100644
--- a/tools/browser/schema-browser/table-preferences.c
+++ b/tools/browser/schema-browser/table-preferences.c
@@ -93,7 +93,7 @@ table_preferences_init (TablePreferences *tpreferences, G_GNUC_UNUSED TablePrefe
{
tpreferences->priv = g_new0 (TablePreferencesPrivate, 1);
- gtk_box_set_orientation (GTK_BOX (tpreferences), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (tpreferences), GTK_ORIENTATION_VERTICAL);
}
static void
diff --git a/tools/browser/schema-browser/table-relations.c b/tools/browser/schema-browser/table-relations.c
index 1941819..3e748b4 100644
--- a/tools/browser/schema-browser/table-relations.c
+++ b/tools/browser/schema-browser/table-relations.c
@@ -67,7 +67,7 @@ table_relations_init (TableRelations *trels, G_GNUC_UNUSED TableRelationsClass *
trels->priv = g_new0 (TableRelationsPrivate, 1);
trels->priv->all_schemas = FALSE;
- gtk_box_set_orientation (GTK_BOX (trels), GTK_ORIENTATION_VERTICAL);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (trels), GTK_ORIENTATION_VERTICAL);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]