summaryrefslogtreecommitdiff
path: root/gtk/gtkprintbackend.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2011-06-02 13:37:43 +0200
committerJavier Jardón <jjardon@gnome.org>2011-06-02 18:49:54 +0200
commit32ef28bc8592e0983c5b31ae64a30847164b981e (patch)
treea820b3d68abdcb7f31647e7efe20dacf33e1063f /gtk/gtkprintbackend.c
parent31f53dd8d49865d2eba35f714d7c867babb67dde (diff)
downloadgtk+-32ef28bc8592e0983c5b31ae64a30847164b981e.tar.gz
Replace gtk_misc_set_padding() with GtkWidget:margin properties
https://bugzilla.gnome.org/show_bug.cgi?id=651605
Diffstat (limited to 'gtk/gtkprintbackend.c')
-rw-r--r--gtk/gtkprintbackend.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkprintbackend.c b/gtk/gtkprintbackend.c
index f8858c1705..2980928439 100644
--- a/gtk/gtkprintbackend.c
+++ b/gtk/gtkprintbackend.c
@@ -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);