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.
This commit is contained in:
Mohammed Sadiq
2018-06-07 15:44:14 +05:30
parent c3737ca316
commit 5591076361

View File

@ -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