[gtk+/font-chooser: 85/92] GtkFontChooser: Use const instead of G_CONST_RETURN
- From: Alberto Ruiz <aruiz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/font-chooser: 85/92] GtkFontChooser: Use const instead of G_CONST_RETURN
- Date: Mon, 25 Jul 2011 14:21:28 +0000 (UTC)
commit b54298f19c5b84245084810f0e822e7b5c6c3769
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]