[libgda] Control center: crash correction
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Control center: crash correction
- Date: Tue, 22 Mar 2011 19:54:50 +0000 (UTC)
commit efe5e8d4aeba568a80c6167694daa35960c9b4d9
Author: Vivien Malerba <malerba gnome-db org>
Date: Tue Mar 22 18:28:33 2011 +0100
Control center: crash correction
control-center/gdaui-dsn-assistant.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/control-center/gdaui-dsn-assistant.c b/control-center/gdaui-dsn-assistant.c
index 71affdc..6cf06a4 100644
--- a/control-center/gdaui-dsn-assistant.c
+++ b/control-center/gdaui-dsn-assistant.c
@@ -494,8 +494,6 @@ gdaui_dsn_assistant_init (GdauiDsnAssistant *assistant,
assistant->priv->general_provider = gdaui_provider_selector_new ();
gtk_table_attach_defaults (GTK_TABLE (table), assistant->priv->general_provider, 1, 2, 3, 4);
- g_signal_connect (G_OBJECT (assistant->priv->general_provider), "changed",
- G_CALLBACK (provider_changed_cb), assistant);
label = gtk_label_new (_("Description:"));
gtk_misc_set_alignment (GTK_MISC (label), 0., 0.);
@@ -656,7 +654,11 @@ gdaui_dsn_assistant_init (GdauiDsnAssistant *assistant,
gtk_assistant_set_page_complete (assist, vbox, TRUE);
/* force correct init */
- provider_changed_cb (assistant->priv->general_provider, assistant);
+ provider_changed_cb (assistant->priv->general_provider, assistant);
+
+
+ g_signal_connect (G_OBJECT (assistant->priv->general_provider), "changed",
+ G_CALLBACK (provider_changed_cb), assistant);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]