gedit r6071 - branches/printing/gedit



Author: paolo
Date: Sat Jan 12 15:39:25 2008
New Revision: 6071
URL: http://svn.gnome.org/viewvc/gedit?rev=6071&view=rev

Log:
Use view instead of doc



Modified:
   branches/printing/gedit/gedit-print-job.c
   branches/printing/gedit/gedit-print-job.h

Modified: branches/printing/gedit/gedit-print-job.c
==============================================================================
--- branches/printing/gedit/gedit-print-job.c	(original)
+++ branches/printing/gedit/gedit-print-job.c	Sat Jan 12 15:39:25 2008
@@ -269,14 +269,14 @@
 }
 
 GeditPrintJob *
-gedit_print_job_new (GeditDocument *doc)
+gedit_print_job_new (GeditView *view)
 {
 	GeditPrintJob *job;
 	
-	g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), NULL);
+	g_return_val_if_fail (GEDIT_IS_VIEW (view), NULL);
 	
 	job = GEDIT_PRINT_JOB (g_object_new (GEDIT_TYPE_PRINT_JOB,
-					     "document", doc,
+					     "view", view,
 					      NULL));
 
 	return job;

Modified: branches/printing/gedit/gedit-print-job.h
==============================================================================
--- branches/printing/gedit/gedit-print-job.h	(original)
+++ branches/printing/gedit/gedit-print-job.h	Sat Jan 12 15:39:25 2008
@@ -33,7 +33,7 @@
 #define __GEDIT_PRINT_JOB_H__
 
 #include <gtk/gtk.h>
-#include <gedit/gedit-document.h>
+#include <gedit/gedit-view.h>
 
 G_BEGIN_DECLS
 
@@ -103,7 +103,7 @@
  */
 GType			 gedit_print_job_get_type		(void) G_GNUC_CONST;
 
-GeditPrintJob		*gedit_print_job_new			(GeditDocument            *doc);
+GeditPrintJob		*gedit_print_job_new			(GeditView                *view);
 
 void			 gedit_print_job_set_export_filename	(GeditPrintJob            *job,
 								 const gchar              *filename);
@@ -114,7 +114,7 @@
 
 void			 gedit_print_job_cancel                 (GeditPrintJob            *job);
 
-GeditDocument		*gedit_print_job_get_document		(GeditPrintJob            *job);
+GeditView		*gedit_print_job_get_view		(GeditPrintJob            *job);
 								 
 const gchar		*gedit_print_job_get_status_string      (GeditPrintJob            *job);
 



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