summaryrefslogtreecommitdiff
path: root/gtk/gtkprintsettings.c
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2012-03-12 23:13:23 +1030
committerJavier Jardón <jjardon@gnome.org>2012-03-19 13:00:33 +0000
commit7a8e37edec2daf2b084cf61a4a8cc3f5a020deb2 (patch)
tree70bb08ec6675c5fa88f6b1ded79289814c013edd /gtk/gtkprintsettings.c
parentd7cf9d7b84d3e9188baf6637809b4bb61a48453c (diff)
downloadgtk+-7a8e37edec2daf2b084cf61a4a8cc3f5a020deb2.tar.gz
Make collate default to enabled
Fixes http://bugzilla.gnome.org/show_bug.cgi?id=671898
Diffstat (limited to 'gtk/gtkprintsettings.c')
-rw-r--r--gtk/gtkprintsettings.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtkprintsettings.c b/gtk/gtkprintsettings.c
index a990172795..b1e8476f03 100644
--- a/gtk/gtkprintsettings.c
+++ b/gtk/gtkprintsettings.c
@@ -816,8 +816,9 @@ gtk_print_settings_set_use_color (GtkPrintSettings *settings,
gboolean
gtk_print_settings_get_collate (GtkPrintSettings *settings)
{
- return gtk_print_settings_get_bool (settings,
- GTK_PRINT_SETTINGS_COLLATE);
+ return gtk_print_settings_get_bool_with_default (settings,
+ GTK_PRINT_SETTINGS_COLLATE,
+ TRUE);
}
/**