forked from AuroraMiddleware/gtk
widget-factory: Stop using deprecated API
This commit is contained in:
parent
910f4f72ba
commit
ef1bc737b0
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user