[gtk+] widget-factory: Stop using deprecated API
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] widget-factory: Stop using deprecated API
- Date: Wed, 4 Nov 2015 04:25:07 +0000 (UTC)
commit ef1bc737b072082ed0c4da68d633822f63eba40f
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Nov 3 23:24:13 2015 -0500
widget-factory: Stop using deprecated API
demos/widget-factory/widget-factory.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.c b/demos/widget-factory/widget-factory.c
index 92de85d..573f266 100644
--- a/demos/widget-factory/widget-factory.c
+++ b/demos/widget-factory/widget-factory.c
@@ -1273,7 +1273,7 @@ add_item (GtkTextView *tv,
{
item = gtk_check_button_new ();
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (item), set);
- gtk_button_set_focus_on_click (GTK_BUTTON (item), FALSE);
+ gtk_widget_set_focus_on_click (item, FALSE);
g_signal_connect (item, "clicked", G_CALLBACK (activate_item), tv);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]