[gtk/gtk-3-24] font-button: Suggest non deprecated function in docs



commit 5591076361210b58592954a394aa55ce3384d758
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date:   Thu Jun 7 15:44:14 2018 +0530

    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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]