summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-07-30 11:15:40 +0200
committerMatthias Clasen <mclasen@redhat.com>2012-07-30 18:01:47 +0200
commit746b9d7c414884ec68ee46865f58a31afa072ce2 (patch)
tree0dacbfa90140d08190a720706de6a960aa83902f /demos
parent3e78324501c38e992b1748e79f5defc4d283e43a (diff)
downloadgtk+-746b9d7c414884ec68ee46865f58a31afa072ce2.tar.gz
demos: Don't use GDK_THREADS_ENTER/LEAVE macros
We don't use threads here, so no need to use them.
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/pixbufs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/demos/gtk-demo/pixbufs.c b/demos/gtk-demo/pixbufs.c
index 9b29b5a722..5e0d7dfa24 100644
--- a/demos/gtk-demo/pixbufs.c
+++ b/demos/gtk-demo/pixbufs.c
@@ -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;