summaryrefslogtreecommitdiff
path: root/gtk/gtkprintjob.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-04-24 03:47:22 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-04-24 03:47:22 +0000
commit8cf2909eb68d39676d315747ffd8dca1bb48057b (patch)
treed9714e3acedb354fa0ec91be1ea20e9aa0aeb900 /gtk/gtkprintjob.h
parentc414c440fee51b8e153263af5ff204bf7cbc3223 (diff)
downloadgtk+-8cf2909eb68d39676d315747ffd8dca1bb48057b.tar.gz
Use g types, add documentation, and some stylistic fixups.
2006-04-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprinter-private.h: * gtk/gtkprintbackend.h: * gtk/gtkprinter.[hc]: * gtk/gtkprintjob.[hc]: Use g types, add documentation, and some stylistic fixups. * gtk/gtkaboutdialog.c (activate_url): Avoid a compiler warning.
Diffstat (limited to 'gtk/gtkprintjob.h')
-rw-r--r--gtk/gtkprintjob.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/gtk/gtkprintjob.h b/gtk/gtkprintjob.h
index a5116c9995..2999001249 100644
--- a/gtk/gtkprintjob.h
+++ b/gtk/gtkprintjob.h
@@ -39,8 +39,8 @@ typedef struct _GtkPrintJobClass GtkPrintJobClass;
typedef struct _GtkPrintJobPrivate GtkPrintJobPrivate;
typedef void (*GtkPrintJobCompleteFunc) (GtkPrintJob *print_job,
- void *user_data,
- GError *error);
+ gpointer user_data,
+ GError *error);
struct _GtkPrinter;
@@ -85,17 +85,17 @@ GtkPrintJob *gtk_print_job_new (const gchar *t
GtkPrinter *printer,
GtkPrintSettings *settings,
GtkPageSetup *page_setup);
-GtkPrintSettings *gtk_print_job_get_settings (GtkPrintJob *print_job);
-GtkPrinter *gtk_print_job_get_printer (GtkPrintJob *print_job);
-const char *gtk_print_job_get_title (GtkPrintJob *print_job);
-GtkPrintStatus gtk_print_job_get_status (GtkPrintJob *print_job);
+GtkPrintSettings *gtk_print_job_get_settings (GtkPrintJob *job);
+GtkPrinter *gtk_print_job_get_printer (GtkPrintJob *job);
+G_CONST_RETURN gchar *gtk_print_job_get_title (GtkPrintJob *job);
+GtkPrintStatus gtk_print_job_get_status (GtkPrintJob *job);
-gboolean gtk_print_job_set_source_file (GtkPrintJob *print_job,
- const char *filename,
+gboolean gtk_print_job_set_source_file (GtkPrintJob *job,
+ const gchar *filename,
GError **error);
-cairo_surface_t *gtk_print_job_get_surface (GtkPrintJob *print_job,
+cairo_surface_t *gtk_print_job_get_surface (GtkPrintJob *job,
GError **error);
-gboolean gtk_print_job_send (GtkPrintJob *print_job,
+gboolean gtk_print_job_send (GtkPrintJob *job,
GtkPrintJobCompleteFunc callback,
gpointer user_data,
GDestroyNotify dnotify,