From 5591076361210b58592954a394aa55ce3384d758 Mon Sep 17 00:00:00 2001 From: Mohammed Sadiq Date: Thu, 7 Jun 2018 15:44:14 +0530 Subject: [PATCH] font-button: Suggest non deprecated function in docs gtk_font_button_get_font_name() has been deprecated in 3.22 and its public API is removed from GTK4. --- gtk/gtkfontbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c index 43126969e1..0964c516bc 100644 --- a/gtk/gtkfontbutton.c +++ b/gtk/gtkfontbutton.c @@ -579,7 +579,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass) * @widget: the object which received the signal. * * The ::font-set signal is emitted when the user selects a font. - * When handling this signal, use gtk_font_button_get_font_name() + * When handling this signal, use gtk_font_chooser_get_font() * to find out which font was just selected. * * Note that this signal is only emitted when the user