[almanah] core: Use GtkBox instead of Gtk[H|V]Box in the print dialogue
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [almanah] core: Use GtkBox instead of Gtk[H|V]Box in the print dialogue
- Date: Sat, 24 Mar 2012 23:07:15 +0000 (UTC)
commit 34762478a7aa99b0acd95245f9c396f0db666b2b
Author: Philip Withnall <philip tecnocode co uk>
Date: Sat Mar 24 23:06:58 2012 +0000
core: Use GtkBox instead of Gtk[H|V]Box in the print dialogue
src/printing.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/printing.c b/src/printing.c
index a1ed791..09cb993 100644
--- a/src/printing.c
+++ b/src/printing.c
@@ -473,11 +473,11 @@ create_custom_widget_cb (GtkPrintOperation *operation, AlmanahPrintOperation *al
almanah_operation->line_spacing_spin_button = GTK_SPIN_BUTTON (line_spacing_spin_button);
- hbox = GTK_BOX (gtk_hbox_new (FALSE, 6));
+ hbox = GTK_BOX (gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6));
gtk_box_pack_start (hbox, GTK_WIDGET (line_spacing_label), FALSE, TRUE, 6);
gtk_box_pack_start (hbox, line_spacing_spin_button, TRUE, TRUE, 6);
- vbox = GTK_BOX (gtk_vbox_new (FALSE, 12));
+ vbox = GTK_BOX (gtk_box_new (GTK_ORIENTATION_VERTICAL, 12));
gtk_box_pack_start (vbox, GTK_WIDGET (table), TRUE, TRUE, 6);
gtk_box_pack_start (vbox, GTK_WIDGET (hbox), FALSE, TRUE, 6);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]