fixed bug: initial call to draw on non-drawable widget.
This commit is contained in:
parent
064193199b
commit
c0b9e71eef
2
balls.c
2
balls.c
@ -296,8 +296,6 @@ int main (int argc, const char *argv[]) {
|
|||||||
|
|
||||||
g_timeout_add (delta * 1000, timeout, window);
|
g_timeout_add (delta * 1000, timeout, window);
|
||||||
|
|
||||||
do_draw(window);
|
|
||||||
|
|
||||||
gtk_widget_show_all(window);
|
gtk_widget_show_all(window);
|
||||||
|
|
||||||
gtk_main();
|
gtk_main();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user