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/gtkpapersize.h | |
parent | a8f5a8b9190d4c72f46a38579f23f2f2acfb174a (diff) | |
download | gtk+-bf0d8402f5382fadd32a9748d00a4bcd715ea07a.tar.gz |
gtk: Use const instead G_CONST_RETURN
Diffstat (limited to 'gtk/gtkpapersize.h')
-rw-r--r-- | gtk/gtkpapersize.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkpapersize.h b/gtk/gtkpapersize.h index 864eb3818e..0cdb8ae122 100644 --- a/gtk/gtkpapersize.h +++ b/gtk/gtkpapersize.h @@ -105,9 +105,9 @@ gboolean gtk_paper_size_is_equal (GtkPaperSize *size1, GList *gtk_paper_size_get_paper_sizes (gboolean include_custom); /* The width is always the shortest side, measure in mm */ -G_CONST_RETURN gchar *gtk_paper_size_get_name (GtkPaperSize *size); -G_CONST_RETURN gchar *gtk_paper_size_get_display_name (GtkPaperSize *size); -G_CONST_RETURN gchar *gtk_paper_size_get_ppd_name (GtkPaperSize *size); +const gchar *gtk_paper_size_get_name (GtkPaperSize *size); +const gchar *gtk_paper_size_get_display_name (GtkPaperSize *size); +const gchar *gtk_paper_size_get_ppd_name (GtkPaperSize *size); gdouble gtk_paper_size_get_width (GtkPaperSize *size, GtkUnit unit); gdouble gtk_paper_size_get_height (GtkPaperSize *size, GtkUnit unit); @@ -128,7 +128,7 @@ gdouble gtk_paper_size_get_default_left_margin (GtkPaperSize *size, gdouble gtk_paper_size_get_default_right_margin (GtkPaperSize *size, GtkUnit unit); -G_CONST_RETURN gchar *gtk_paper_size_get_default (void); +const gchar *gtk_paper_size_get_default (void); GtkPaperSize *gtk_paper_size_new_from_key_file (GKeyFile *key_file, const gchar *group_name, |