Replace gtk_misc_set_padding() with GtkWidget:margin properties

https://bugzilla.gnome.org/show_bug.cgi?id=651605
This commit is contained in:
Javier Jardón
2011-06-02 13:37:43 +02:00
parent 31f53dd8d4
commit 32ef28bc85
6 changed files with 25 additions and 14 deletions

View File

@ -125,7 +125,7 @@ query_for_toplevel (GdkScreen *screen,
gtk_container_add (GTK_CONTAINER (popup), frame);
label = gtk_label_new (prompt);
gtk_misc_set_padding (GTK_MISC (label), 10, 10);
g_object_set (label, "margin", 10, NULL);
gtk_container_add (GTK_CONTAINER (frame), label);
gtk_widget_show_all (popup);