diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-04-24 03:47:22 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-04-24 03:47:22 +0000 |
commit | 8cf2909eb68d39676d315747ffd8dca1bb48057b (patch) | |
tree | d9714e3acedb354fa0ec91be1ea20e9aa0aeb900 /gtk/gtkprinter.h | |
parent | c414c440fee51b8e153263af5ff204bf7cbc3223 (diff) | |
download | gtk+-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.h | 12 |
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); |