Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_FOCUS)

Use new API instead: gtk_widget_set_can_focus ()
This commit is contained in:
Javier Jardón
2010-03-02 04:40:38 +01:00
parent f19dc0bd4b
commit 483a5a9e1a
28 changed files with 49 additions and 45 deletions

View File

@ -390,7 +390,7 @@ gtk_scale_init (GtkScale *scale)
{
GtkRange *range = GTK_RANGE (scale);
GTK_WIDGET_SET_FLAGS (scale, GTK_CAN_FOCUS);
gtk_widget_set_can_focus (GTK_WIDGET (scale), TRUE);
range->slider_size_fixed = TRUE;
range->has_stepper_a = FALSE;