Commit 746b9d7c authored by Matthias Clasen's avatar Matthias Clasen

demos: Don't use GDK_THREADS_ENTER/LEAVE macros

We don't use threads here, so no need to use them.
parent 3e783245
......@@ -175,9 +175,7 @@ timeout (gpointer data)
: MAX (127, fabs (255 * cos (f * 2.0 * G_PI)))));
}
GDK_THREADS_ENTER ();
gtk_widget_queue_draw (da);
GDK_THREADS_LEAVE ();
frame_num++;
return G_SOURCE_CONTINUE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment