summaryrefslogtreecommitdiff
path: root/gtk/gtkprinter.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/gtkprinter.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/gtkprinter.h')
-rw-r--r--gtk/gtkprinter.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkprinter.h b/gtk/gtkprinter.h
index 285605f1ef..5a87b03f2b 100644
--- a/gtk/gtkprinter.h
+++ b/gtk/gtkprinter.h
@@ -66,15 +66,15 @@ struct _GtkPrinterClass
};
GType gtk_printer_get_type (void) G_GNUC_CONST;
-GtkPrinter *gtk_printer_new (const char *name,
+GtkPrinter *gtk_printer_new (const gchar *name,
GtkPrintBackend *backend,
gboolean virtual);
GtkPrintBackend *gtk_printer_get_backend (GtkPrinter *printer);
-const gchar *gtk_printer_get_name (GtkPrinter *printer);
-const gchar *gtk_printer_get_state_message (GtkPrinter *printer);
-const gchar *gtk_printer_get_description (GtkPrinter *printer);
-const gchar *gtk_printer_get_location (GtkPrinter *printer);
-const gchar *gtk_printer_get_icon_name (GtkPrinter *printer);
+G_CONST_RETURN gchar *gtk_printer_get_name (GtkPrinter *printer);
+G_CONST_RETURN gchar *gtk_printer_get_state_message (GtkPrinter *printer);
+G_CONST_RETURN gchar *gtk_printer_get_description (GtkPrinter *printer);
+G_CONST_RETURN gchar *gtk_printer_get_location (GtkPrinter *printer);
+G_CONST_RETURN gchar *gtk_printer_get_icon_name (GtkPrinter *printer);
gint gtk_printer_get_job_count (GtkPrinter *printer);
gboolean gtk_printer_is_active (GtkPrinter *printer);
gboolean gtk_printer_is_virtual (GtkPrinter *printer);