diff options
author | Matthias Clasen <mclasen@redhat.com> | 2009-04-18 14:42:43 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2009-05-03 23:44:01 -0400 |
commit | b125eeae9d0e12ea83c12ea8a850c9bc9f6df510 (patch) | |
tree | f6fc98eedbdd30ddb9de5f116e6a78e7d6d5da4d /gtk | |
parent | 5d617ee80beb126ec1c622dc18cdf64745536467 (diff) | |
download | gtk+-b125eeae9d0e12ea83c12ea8a850c9bc9f6df510.tar.gz |
Make GtkAssistant keep its padding when built with GtkBuilder
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkassistant.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c index 317e3cdd9f..4e8f155aea 100644 --- a/gtk/gtkassistant.c +++ b/gtk/gtkassistant.c @@ -729,6 +729,7 @@ gtk_assistant_init (GtkAssistant *assistant) priv = assistant->priv = GTK_ASSISTANT_GET_PRIVATE (assistant); gtk_container_set_reallocate_redraws (GTK_CONTAINER (assistant), TRUE); + gtk_container_set_border_width (GTK_CONTAINER (assistant), 12); gtk_widget_push_composite_child (); @@ -1492,9 +1493,8 @@ gtk_assistant_new (void) { GtkWidget *assistant; - assistant = g_object_new (GTK_TYPE_ASSISTANT, - "border-width", 12, - NULL); + assistant = g_object_new (GTK_TYPE_ASSISTANT, NULL); + return assistant; } |