[gtk] font-button: Suggest non deprecated function in docs
- From: Mohammed Sadiq <pksadiq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] font-button: Suggest non deprecated function in docs
- Date: Thu, 7 Jun 2018 10:18:15 +0000 (UTC)
commit 59c8fdff29c817bfcbe08bdcf583c862a95b7993
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 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]