GtkFontChooser: Use const instead of G_CONST_RETURN
This commit is contained in:
committed by
Matthias Clasen
parent
03ab18fa7a
commit
b37863a5ba
@ -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;
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user