Use more accessors
This commit is contained in:
committed by
Stéphane Lesimple
parent
eadbf54aae
commit
e9b44a04f0
@@ -749,7 +749,7 @@ static void update_color_buttons(color_button_info *a, color_button_info *b, int
|
||||
if(window)
|
||||
{ gdk_window_get_geometry(window, &rect.x, &rect.y, &rect.width, &rect.height, &ignore);
|
||||
|
||||
gdk_window_invalidate_rect(a->button->window, &rect, TRUE);
|
||||
gdk_window_invalidate_rect(gtk_widget_get_window(a->button), &rect, TRUE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user