font-button: Suggest non deprecated function in docs
authorMohammed Sadiq <sadiq@sadiqpk.org>
Thu, 7 Jun 2018 10:14:14 +0000 (15:44 +0530)
committerMohammed Sadiq <sadiq@sadiqpk.org>
Thu, 7 Jun 2018 10:15:32 +0000 (15:45 +0530)
gtk_font_button_get_font_name() has been deprecated in 3.22 and
its public API is removed from GTK4.

gtk/gtkfontbutton.c

index 33dd4df027a901bfa67df89822e5d96077674cd4..b2dc3a3df1e008b4b237cfdd6ecca313fd17f106 100644 (file)
@@ -548,7 +548,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