GtkFontChooser: Use const instead of G_CONST_RETURN

This commit is contained in:
Alberto Ruiz
2011-07-09 03:16:03 +01:00
committed by Matthias Clasen
parent 03ab18fa7a
commit b37863a5ba
2 changed files with 2 additions and 2 deletions

View File

@ -280,7 +280,7 @@ gtk_font_chooser_dialog_set_font_name (GtkFontChooserDialog *fcd,
* *
* Since: 3.2 * Since: 3.2
*/ */
G_CONST_RETURN gchar* const gchar*
gtk_font_chooser_dialog_get_preview_text (GtkFontChooserDialog *fcd) gtk_font_chooser_dialog_get_preview_text (GtkFontChooserDialog *fcd)
{ {
GtkFontChooserDialogPrivate *priv; GtkFontChooserDialogPrivate *priv;

View 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, gboolean gtk_font_chooser_dialog_set_font_name (GtkFontChooserDialog *fcd,
const gchar *fontname); const gchar *fontname);
G_CONST_RETURN gchar* const gchar*
gtk_font_chooser_dialog_get_preview_text (GtkFontChooserDialog *fcd); gtk_font_chooser_dialog_get_preview_text (GtkFontChooserDialog *fcd);
void gtk_font_chooser_dialog_set_preview_text (GtkFontChooserDialog *fcd, void gtk_font_chooser_dialog_set_preview_text (GtkFontChooserDialog *fcd,