diff options
author | Javier Jardón <jjardon@gnome.org> | 2011-06-06 19:13:44 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2011-06-10 13:07:54 +0100 |
commit | bf0d8402f5382fadd32a9748d00a4bcd715ea07a (patch) | |
tree | fb60ab4c6589c0dac140fe16b63fced2d7bbf070 /gtk/gtkprinter.c | |
parent | a8f5a8b9190d4c72f46a38579f23f2f2acfb174a (diff) | |
download | gtk+-bf0d8402f5382fadd32a9748d00a4bcd715ea07a.tar.gz |
gtk: Use const instead G_CONST_RETURN
Diffstat (limited to 'gtk/gtkprinter.c')
-rw-r--r-- | gtk/gtkprinter.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkprinter.c b/gtk/gtkprinter.c index 95df2f0792..d6ac906371 100644 --- a/gtk/gtkprinter.c +++ b/gtk/gtkprinter.c @@ -436,7 +436,7 @@ gtk_printer_get_backend (GtkPrinter *printer) * * Since: 2.10 */ -G_CONST_RETURN gchar * +const gchar * gtk_printer_get_name (GtkPrinter *printer) { g_return_val_if_fail (GTK_IS_PRINTER (printer), NULL); @@ -454,7 +454,7 @@ gtk_printer_get_name (GtkPrinter *printer) * * Since: 2.10 */ -G_CONST_RETURN gchar * +const gchar * gtk_printer_get_description (GtkPrinter *printer) { g_return_val_if_fail (GTK_IS_PRINTER (printer), NULL); @@ -492,7 +492,7 @@ gtk_printer_set_description (GtkPrinter *printer, * * Since: 2.10 */ -G_CONST_RETURN gchar * +const gchar * gtk_printer_get_state_message (GtkPrinter *printer) { g_return_val_if_fail (GTK_IS_PRINTER (printer), NULL); @@ -530,7 +530,7 @@ gtk_printer_set_state_message (GtkPrinter *printer, * * Since: 2.10 */ -G_CONST_RETURN gchar * +const gchar * gtk_printer_get_location (GtkPrinter *printer) { g_return_val_if_fail (GTK_IS_PRINTER (printer), NULL); @@ -568,7 +568,7 @@ gtk_printer_set_location (GtkPrinter *printer, * * Since: 2.10 */ -G_CONST_RETURN gchar * +const gchar * gtk_printer_get_icon_name (GtkPrinter *printer) { g_return_val_if_fail (GTK_IS_PRINTER (printer), NULL); |