diff options
author | Michael Natterer <mitch@gimp.org> | 2010-10-31 18:07:20 +0100 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-11-02 12:04:35 +0900 |
commit | 260ccdfebef9e17842dcc162aefba46fe5459c7c (patch) | |
tree | 52e18d59f343ae23c75a7cf186009b27237a11c3 /gtk/gtkprintbackend.c | |
parent | c50f79041776098cecc4b65bbe4305173dff0847 (diff) | |
download | gtk+-260ccdfebef9e17842dcc162aefba46fe5459c7c.tar.gz |
gtk: remove "gboolean homogeneous" from gtk_box_new()
Because it's FALSE in virtually all use cases.
Diffstat (limited to 'gtk/gtkprintbackend.c')
-rw-r--r-- | gtk/gtkprintbackend.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtkprintbackend.c b/gtk/gtkprintbackend.c index ce35f1c654..df735c668c 100644 --- a/gtk/gtkprintbackend.c +++ b/gtk/gtkprintbackend.c @@ -753,7 +753,7 @@ request_password (GtkPrintBackend *backend, gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); - main_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 0); + main_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); /* Left */ icon = gtk_image_new_from_stock (GTK_STOCK_DIALOG_AUTHENTICATION, GTK_ICON_SIZE_DIALOG); @@ -762,7 +762,7 @@ request_password (GtkPrintBackend *backend, /* Right */ - vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 0); + vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); gtk_widget_set_size_request (GTK_WIDGET (vbox), 320, -1); /* Right - 1. */ @@ -789,7 +789,8 @@ request_password (GtkPrintBackend *backend, priv->auth_info[i] = g_strdup (ai_default[i]); if (ai_display[i] != NULL) { - box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, TRUE, 0); + box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); + gtk_box_set_homogeneous (GTK_BOX (box), TRUE); label = gtk_label_new (ai_display[i]); gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); |