[Xfce4-commits] [apps/xfce4-screensaver] 01/01: floaters: Initialize draw_ops_pending, use gboolean where appropriate
noreply at xfce.org
noreply at xfce.org
Wed Jul 3 12:18:43 CEST 2019
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfce4-screensaver.
commit c2f7422492ea8be9492a62a47aa77ed98204a26f
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Wed Jul 3 06:18:37 2019 -0400
floaters: Initialize draw_ops_pending, use gboolean where appropriate
---
savers/floaters.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/savers/floaters.c b/savers/floaters.c
index 39c5216..17acd4c 100644
--- a/savers/floaters.c
+++ b/savers/floaters.c
@@ -197,9 +197,9 @@ struct _ScreenSaver {
GList *floaters;
gint max_floater_count;
- guint should_do_rotations: 1;
- guint should_show_paths : 1;
- guint draw_ops_pending : 1;
+ gboolean should_do_rotations: 1;
+ gboolean should_show_paths : 1;
+ gboolean draw_ops_pending : 1;
};
static Path *path_new (Point *start_point,
@@ -827,6 +827,7 @@ screen_saver_new (GtkWidget *drawing_area,
screen_saver->should_show_paths = should_show_paths;
screen_saver->should_do_rotations = should_do_rotations;
+ screen_saver->draw_ops_pending = TRUE;
screen_saver_get_initial_state (screen_saver);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list