summaryrefslogtreecommitdiff
path: root/gtk/gtkfontbutton.c
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:45:32 +0530
commit59c8fdff29c817bfcbe08bdcf583c862a95b7993 (patch)
tree7d80525a0a917ecd52f20ddbb1ae86dc964c9711 /gtk/gtkfontbutton.c
parentd2d4ea6f0a24a9827cd19168c7a3fbcd0eefead6 (diff)
downloadgtk+-59c8fdff29c817bfcbe08bdcf583c862a95b7993.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.
Diffstat (limited to 'gtk/gtkfontbutton.c')
-rw-r--r--gtk/gtkfontbutton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c
index 33dd4df027..b2dc3a3df1 100644
--- a/gtk/gtkfontbutton.c
+++ b/gtk/gtkfontbutton.c
@@ -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