]> Pileus Git - ~andy/gtk/blobdiff - tests/testoffscreen.c
stylecontext: Do invalidation on first resize container
[~andy/gtk] / tests / testoffscreen.c
index ff9ba6b9e07525cd50f375fb29af8e2af62d435b..62589b5dd8b0d74fc2cf1d092d1ef78eba2ab924 100644 (file)
@@ -63,9 +63,8 @@ scroll_layout (gpointer data)
   GtkAdjustment *adj;
 
   adj = gtk_scrollable_get_hadjustment (GTK_SCROLLABLE (layout));
-  gtk_adjustment_set_value (adj,
-                           gtk_adjustment_get_value (adj) + 5.0);
-  return TRUE;
+  gtk_adjustment_set_value (adj, gtk_adjustment_get_value (adj) + 5.0);
+  return G_SOURCE_CONTINUE;
 }
 
 static guint layout_timeout;