widget-factory: Stop using deprecated API

This commit is contained in:
Matthias Clasen 2015-11-03 23:24:13 -05:00
parent 910f4f72ba
commit ef1bc737b0

View File

@ -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);
}