[gtk+] GtkFontChooser: Use const instead of G_CONST_RETURN
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkFontChooser: Use const instead of G_CONST_RETURN
- Date: Mon, 15 Aug 2011 23:53:26 +0000 (UTC)
commit b37863a5ba95e6138eaebff7e817d69db8baa781
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]