]> Pileus Git - ~andy/gtk/commitdiff
GtkFontChooser: Use const instead of G_CONST_RETURN
authorAlberto Ruiz <aruiz@gnome.org>
Sat, 9 Jul 2011 02:16:03 +0000 (03:16 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 15 Aug 2011 22:57:55 +0000 (18:57 -0400)
gtk/gtkfontchooserdialog.c
gtk/gtkfontchooserdialog.h

index 41b33987b1ecdf8e82cef1632d0272436ca89e41..d0ebb3390c996b5bb34663d42b2ced4aade92f88 100644 (file)
@@ -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;
index 0e5f89c685848775939c72355674f0bb2ec91eea..7b5889399c68a15589c3538d1ad33e94328553a2 100644 (file)
@@ -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,