[libgda] Correction for older versions of GTK+



commit 530d8167f4676a2251929bd46c15888043b0a5cc
Author: Vivien Malerba <malerba gnome-db org>
Date:   Sat Sep 11 16:07:26 2010 +0200

    Correction for older versions of GTK+

 tools/browser/data-manager/data-widget.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/tools/browser/data-manager/data-widget.c b/tools/browser/data-manager/data-widget.c
index c19b1d0..b4cf2c8 100644
--- a/tools/browser/data-manager/data-widget.c
+++ b/tools/browser/data-manager/data-widget.c
@@ -117,9 +117,8 @@ data_widget_init (DataWidget *dwid, DataWidgetClass *klass)
 	gtk_container_add (GTK_CONTAINER (gtk_info_bar_get_content_area (GTK_INFO_BAR (info))),
 			   dwid->priv->info_label);
 #else
-	dwid->priv->info = gtk_label_new ("");
-	gtk_notebook_append_page (GTK_NOTEBOOK (dwid->priv->top_nb), info);
-	dwid->priv->info_label = dwid->priv->info;
+	dwid->priv->info_label = gtk_label_new ("");
+	gtk_notebook_append_page (GTK_NOTEBOOK (dwid->priv->top_nb), dwid->priv->info_label, NULL);
 #endif
 
 	/* contents page */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]