[sysprof/sysprof-3-22: 2/3] zoom-manager: bring back attribute aligned(8)



commit 0f92fef5ec2f95e36c647d9e52582a6995a7a295
Author: Christian Hergert <chergert redhat com>
Date:   Thu Mar 2 15:51:52 2017 -0800

    zoom-manager: bring back attribute aligned(8)
    
    This was needed for some other architectures, even though it is problematic
    that we have to do it (it should really be the default for the parent
    GObject struct).
    
    (cherry picked from commit faf1e24edf0cc77a1895b36ecb4228e1e66e21da)

 lib/sp-zoom-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/sp-zoom-manager.c b/lib/sp-zoom-manager.c
index b7c5baf..9baab00 100644
--- a/lib/sp-zoom-manager.c
+++ b/lib/sp-zoom-manager.c
@@ -32,7 +32,7 @@ struct _SpZoomManager
   gdouble min_zoom;
   gdouble max_zoom;
   gdouble zoom;
-};
+} __attribute__((aligned(8)));
 
 enum {
   PROP_0,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]