summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/pixbufs.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-01-30 19:12:27 -0500
committerMatthias Clasen <mclasen@redhat.com>2012-01-30 19:12:27 -0500
commit585a6652d5ca2123a15290ee3138fb8c36ad14cc (patch)
treeda404859ae663f70bc2822383d386ff918c52409 /demos/gtk-demo/pixbufs.c
parent7a080413add02b80c4217a9fbe81467017aae2a5 (diff)
downloadgtk+-585a6652d5ca2123a15290ee3138fb8c36ad14cc.tar.gz
Use G_SOURCE_CONTINUE/REMOVE
Now that GLib provides these macros, we should use them to make the code more readable.
Diffstat (limited to 'demos/gtk-demo/pixbufs.c')
-rw-r--r--demos/gtk-demo/pixbufs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/pixbufs.c b/demos/gtk-demo/pixbufs.c
index ed1ed81b24..9b29b5a722 100644
--- a/demos/gtk-demo/pixbufs.c
+++ b/demos/gtk-demo/pixbufs.c
@@ -180,7 +180,7 @@ timeout (gpointer data)
GDK_THREADS_LEAVE ();
frame_num++;
- return TRUE;
+ return G_SOURCE_CONTINUE;
}
static guint timeout_id;