[gtk+] Make collate default to enabled



commit 7a8e37edec2daf2b084cf61a4a8cc3f5a020deb2
Author: Adrian Johnson <ajohnson redneon com>
Date:   Mon Mar 12 23:13:23 2012 +1030

    Make collate default to enabled
    
    Fixes http://bugzilla.gnome.org/show_bug.cgi?id=671898

 gtk/gtkprintsettings.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkprintsettings.c b/gtk/gtkprintsettings.c
index a990172..b1e8476 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);
 }
 
 /**



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]