]> Pileus Git - ~andy/gtk/commitdiff
Cleanups
authorMatthias Clasen <matthiasc@src.gnome.org>
Mon, 24 Apr 2006 15:23:24 +0000 (15:23 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 24 Apr 2006 15:23:24 +0000 (15:23 +0000)
ChangeLog
ChangeLog.pre-2-10
gtk/gtkprintoperation-unix.c

index 24f683a82ec171420b6e354d85c64220c966f5d7..84d34ad1dc39fadbc67d57b7260397fef3ebc81a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-04-24  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkprintoperation-unix.c: Cleanups.
+
        * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_get_page_setup):
        Remove redundant code.
 
index 24f683a82ec171420b6e354d85c64220c966f5d7..84d34ad1dc39fadbc67d57b7260397fef3ebc81a 100644 (file)
@@ -1,5 +1,7 @@
 2006-04-24  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkprintoperation-unix.c: Cleanups.
+
        * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_get_page_setup):
        Remove redundant code.
 
index b5122ae82290e550b4a843152b9f147221ce7e00..1ebc4bb0b6add021d9dd376e5c07986e885774e4 100644 (file)
 typedef struct {
   GtkPrintJob *job;         /* the job we are sending to the printer */
   gulong job_status_changed_tag;
-  GtkWindow *parent;        /* parent window just in case we need to throw error dialogs */
+  GtkWindow *parent;        /* just in case we need to throw error dialogs */
 } GtkPrintOperationUnix;
 
 static void
 unix_start_page (GtkPrintOperation *op,
-                GtkPrintContext *print_context,
-                GtkPageSetup *page_setup)
+                GtkPrintContext   *print_context,
+                GtkPageSetup      *page_setup)
 {
 
 }
 
 static void
 unix_end_page (GtkPrintOperation *op,
-              GtkPrintContext *print_context)
+              GtkPrintContext   *print_context)
 {
   cairo_t *cr;
 
@@ -76,8 +76,8 @@ op_unix_free (GtkPrintOperationUnix *op_unix)
 
 static void
 unix_finish_send  (GtkPrintJob *job,
-                   void *user_data, 
-                   GError *error)
+                   void        *user_data, 
+                   GError      *error)
 {
   GtkPrintOperationUnix *op_unix;
   GtkWindow *parent;
@@ -114,16 +114,17 @@ unix_end_run (GtkPrintOperation *op)
 }
 
 static void
-job_status_changed_cb (GtkPrintJob *job, GtkPrintOperation *op)
+job_status_changed_cb (GtkPrintJob       *job, 
+                      GtkPrintOperation *op)
 {
   _gtk_print_operation_set_status (op, gtk_print_job_get_status (job), NULL);
 }
 
 GtkPrintOperationResult
-_gtk_print_operation_platform_backend_run_dialog (GtkPrintOperation *op,
-                                                 GtkWindow *parent,
-                                                 gboolean *do_print,
-                                                 GError **error)
+_gtk_print_operation_platform_backend_run_dialog (GtkPrintOperation  *op,
+                                                 GtkWindow          *parent,
+                                                 gboolean           *do_print,
+                                                 GError            **error)
 {
   GtkWidget *pd;
   GtkPrintOperationResult result;