[gtk+/font-chooser: 85/86] GtkFontChooser: Use const instead of G_CONST_RETURN



commit 1ef3dd8d24b39d75fd8e6154ce3e846f2f2899c8
Author: Alberto Ruiz <aruiz gnome org>
Date:   Sat Jul 9 03:16:03 2011 +0100

    GtkFontChooser: Use const instead of G_CONST_RETURN

 gtk/gtkfontchooserdialog.c |    2 +-
 gtk/gtkfontchooserdialog.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkfontchooserdialog.c b/gtk/gtkfontchooserdialog.c
index 41b3398..d0ebb33 100644
--- a/gtk/gtkfontchooserdialog.c
+++ b/gtk/gtkfontchooserdialog.c
@@ -280,7 +280,7 @@ gtk_font_chooser_dialog_set_font_name (GtkFontChooserDialog *fcd,
  *
  * Since: 3.2
  */
-G_CONST_RETURN gchar*
+const gchar*
 gtk_font_chooser_dialog_get_preview_text (GtkFontChooserDialog *fcd)
 {
   GtkFontChooserDialogPrivate *priv;
diff --git a/gtk/gtkfontchooserdialog.h b/gtk/gtkfontchooserdialog.h
index 0e5f89c..7b58893 100644
--- a/gtk/gtkfontchooserdialog.h
+++ b/gtk/gtkfontchooserdialog.h
@@ -78,7 +78,7 @@ gchar*     gtk_font_chooser_dialog_get_font_name      (GtkFontChooserDialog *fcd
 
 gboolean   gtk_font_chooser_dialog_set_font_name      (GtkFontChooserDialog *fcd,
                                                        const gchar          *fontname);
-G_CONST_RETURN gchar* 
+const gchar* 
           gtk_font_chooser_dialog_get_preview_text    (GtkFontChooserDialog *fcd);
 
 void      gtk_font_chooser_dialog_set_preview_text    (GtkFontChooserDialog *fcd,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]