summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammed Sadiq <sadiq@sadiqpk.org>2018-06-07 15:44:14 +0530
committerMohammed Sadiq <sadiq@sadiqpk.org>2018-06-07 15:49:28 +0530
commit5591076361210b58592954a394aa55ce3384d758 (patch)
tree00784debad8780ee348f1c2910f334a899d3b56d
parentc3737ca3166dde984f0459540b9a01da7700d543 (diff)
downloadgtk+-5591076361210b58592954a394aa55ce3384d758.tar.gz
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.
-rw-r--r--gtk/gtkfontbutton.c2
1 files changed, 1 insertions, 1 deletions
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