diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-06-03 09:36:39 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-07-13 19:40:47 +0200 |
commit | 7f2cc85db96afb9806fc62ce6e32c47e49a9f4d3 (patch) | |
tree | 9b4e9a147f29c3ac181d1901579c9dd16a386acc /gtk/gtkprintbackend.c | |
parent | 80df961edb1557bae3a545e6b18871d7c4c6f566 (diff) | |
download | gtk+-7f2cc85db96afb9806fc62ce6e32c47e49a9f4d3.tar.gz |
Use accessor functions to access GtkDialog
Diffstat (limited to 'gtk/gtkprintbackend.c')
-rw-r--r-- | gtk/gtkprintbackend.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkprintbackend.c b/gtk/gtkprintbackend.c index bdb6a1d2cc..f12f237b28 100644 --- a/gtk/gtkprintbackend.c +++ b/gtk/gtkprintbackend.c @@ -733,6 +733,7 @@ request_password (GtkPrintBackend *backend, GtkPrintBackendPrivate *priv = backend->priv; GtkWidget *dialog, *box, *main_box, *label, *icon, *vbox, *entry; GtkWidget *focus = NULL; + GtkWidget *content_area; gchar *markup; gint length; gint i; @@ -775,7 +776,8 @@ request_password (GtkPrintBackend *backend, /* Packing */ - gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), main_box, TRUE, FALSE, 0); + content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog)); + gtk_box_pack_start (GTK_BOX (content_area), main_box, TRUE, FALSE, 0); gtk_box_pack_start (GTK_BOX (main_box), icon, FALSE, FALSE, 6); gtk_box_pack_start (GTK_BOX (main_box), vbox, FALSE, FALSE, 6); |