[geany/geany] 183945: Fix a packing issue on GTK3

Colomban Wendling git-noreply at geany.org
Tue Jan 29 14:35:28 UTC 2013


Branch:      refs/heads/gtk3-support
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Tue, 09 Oct 2012 11:25:12 UTC
Commit:      18394513634c33152c07878b7f3a436303bbab87
             https://github.com/geany/geany/commit/18394513634c33152c07878b7f3a436303bbab87

Log Message:
-----------
Fix a packing issue on GTK3

GTK3 changed the default for expand and fill, so explicitly set them.


Modified Paths:
--------------
    src/ui_utils.c

Modified: src/ui_utils.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -1391,7 +1391,7 @@ GtkWidget *ui_dialog_vbox_new(GtkDialog *dialog)
 	GtkWidget *vbox = gtk_vbox_new(FALSE, 12);	/* need child vbox to set a separate border. */
 
 	gtk_container_set_border_width(GTK_CONTAINER(vbox), 6);
-	gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), vbox);
+	gtk_box_pack_start(GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), vbox, TRUE, TRUE, 0);
 	return vbox;
 }
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list