summaryrefslogtreecommitdiff
path: root/gtk/gtkpapersize.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2011-06-06 19:13:44 +0100
committerJavier Jardón <jjardon@gnome.org>2011-06-10 13:07:54 +0100
commitbf0d8402f5382fadd32a9748d00a4bcd715ea07a (patch)
treefb60ab4c6589c0dac140fe16b63fced2d7bbf070 /gtk/gtkpapersize.c
parenta8f5a8b9190d4c72f46a38579f23f2f2acfb174a (diff)
downloadgtk+-bf0d8402f5382fadd32a9748d00a4bcd715ea07a.tar.gz
gtk: Use const instead G_CONST_RETURN
Diffstat (limited to 'gtk/gtkpapersize.c')
-rw-r--r--gtk/gtkpapersize.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkpapersize.c b/gtk/gtkpapersize.c
index 23017eaf73..06852c0a05 100644
--- a/gtk/gtkpapersize.c
+++ b/gtk/gtkpapersize.c
@@ -516,7 +516,7 @@ gtk_paper_size_get_paper_sizes (gboolean include_custom)
*
* Since: 2.10
*/
-G_CONST_RETURN gchar *
+const gchar *
gtk_paper_size_get_name (GtkPaperSize *size)
{
if (size->name)
@@ -535,7 +535,7 @@ gtk_paper_size_get_name (GtkPaperSize *size)
*
* Since: 2.10
*/
-G_CONST_RETURN gchar *
+const gchar *
gtk_paper_size_get_display_name (GtkPaperSize *size)
{
const gchar *display_name;
@@ -560,7 +560,7 @@ gtk_paper_size_get_display_name (GtkPaperSize *size)
*
* Since: 2.10
*/
-G_CONST_RETURN gchar *
+const gchar *
gtk_paper_size_get_ppd_name (GtkPaperSize *size)
{
if (size->ppd_name)
@@ -660,7 +660,7 @@ gtk_paper_size_set_size (GtkPaperSize *size,
*
* Since: 2.10
*/
-G_CONST_RETURN gchar *
+const gchar *
gtk_paper_size_get_default (void)
{
char *locale, *freeme = NULL;