[gedit] Fixed printing crash



commit bf756c557f47cb4d2af8efa0bf60e072194fdcf5
Author: Garrett Regier <alias301 gmail com>
Date:   Sun May 23 10:58:35 2010 -0700

    Fixed printing crash

 gedit/gedit-print-job.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-print-job.c b/gedit/gedit-print-job.c
index b7e2fd3..4bf3aef 100644
--- a/gedit/gedit-print-job.c
+++ b/gedit/gedit-print-job.c
@@ -536,7 +536,7 @@ create_compositor (GeditPrintJob *job)
 					       GEDIT_SETTINGS_PRINT_HEADER);
 	
 	wrap_mode = gedit_settings_get_wrap_mode (job->priv->print_settings,
-						  GEDIT_SETTINGS_WRAP_MODE);
+						  GEDIT_SETTINGS_PRINT_WRAP_MODE);
 	
 	job->priv->compositor = GTK_SOURCE_PRINT_COMPOSITOR (
 					g_object_new (GTK_TYPE_SOURCE_PRINT_COMPOSITOR,



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