mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Make GtkAssistant keep its padding when built with GtkBuilder
This commit is contained in:
parent
553523048a
commit
c28fabe3f6
@ -709,6 +709,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 ();
|
||||
|
||||
@ -1472,9 +1473,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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user