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

@ -758,8 +758,7 @@ request_password (GtkPrintBackend *backend,
/* Left */
icon = gtk_image_new_from_stock (GTK_STOCK_DIALOG_AUTHENTICATION, GTK_ICON_SIZE_DIALOG);
gtk_misc_set_alignment (GTK_MISC (icon), 0.5, 0.0);
gtk_misc_set_padding (GTK_MISC (icon), 6, 6);
g_object_set (icon, "margin", 6, NULL);
/* Right */
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);