[anjuta] debug-manager: Fix resize of debugger information dialog



commit fcbf7eb5ac35a07611b380620523bf597e7aad93
Author: SÃbastien Granjoux <seb sfo free fr>
Date:   Sun Aug 28 09:24:38 2011 +0200

    debug-manager: Fix resize of debugger information dialog

 plugins/debug-manager/info.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/debug-manager/info.c b/plugins/debug-manager/info.c
index 0e55f14..b3c6118 100644
--- a/plugins/debug-manager/info.c
+++ b/plugins/debug-manager/info.c
@@ -62,8 +62,8 @@ create_dialog_with_textview (GtkWindow *parent, gint width, gint height)
 					 G_CALLBACK (gtk_widget_destroy), NULL);
 
 	scrolledwindow = gtk_scrolled_window_new (NULL, NULL);
-	gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (dialog))),
-			   scrolledwindow);
+	gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))),
+			   scrolledwindow, TRUE, TRUE, 0);
 	gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow),
 					GTK_POLICY_AUTOMATIC,
 					GTK_POLICY_AUTOMATIC);
@@ -111,8 +111,8 @@ create_dialog_with_treeview (GtkWindow *parent, gint width, gint height)
 					 G_CALLBACK (gtk_widget_destroy), NULL);
 
 	scrolledwindow = gtk_scrolled_window_new (NULL, NULL);
-	gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (dialog))),
-			   scrolledwindow);
+	gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))),
+			   scrolledwindow, TRUE, TRUE, 0);
 	gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow),
 					GTK_POLICY_AUTOMATIC,
 					GTK_POLICY_AUTOMATIC);



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