diff options
author | Owen W. Taylor <otaylor@fishsoup.net> | 2013-02-14 16:24:27 -0500 |
---|---|---|
committer | Owen W. Taylor <otaylor@fishsoup.net> | 2013-02-14 17:19:53 -0500 |
commit | 7bb07317f303d204305f6fdac72020dd257025e6 (patch) | |
tree | 797e26a6e60fbb1755395cfd7ab9956442e9f912 /tests/animated-resizing.c | |
parent | e2705544ab73434455e0837fc5702f6c6881ad85 (diff) | |
download | gtk+-7bb07317f303d204305f6fdac72020dd257025e6.tar.gz |
GtkTickCallback: document use of G_SOURCE_CONTINUE/REMOVE for return value
Document that G_SOURCE_CONTINUE and G_SOURCE_REMOVE are the preferred
return values from a tick callback.
Diffstat (limited to 'tests/animated-resizing.c')
-rw-r--r-- | tests/animated-resizing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/animated-resizing.c b/tests/animated-resizing.c index df2fe48c92..8a34d9fc38 100644 --- a/tests/animated-resizing.c +++ b/tests/animated-resizing.c @@ -251,7 +251,7 @@ tick_callback (GtkWidget *widget, scaled_time = (frame_time - start_frame_time) / (CYCLE_TIME * 1000000); on_frame (scaled_time - floor (scaled_time)); - return TRUE; + return G_SOURCE_CONTINUE; } static gboolean |