[mutter] Put G_GNUC_CONST at the end of the declarations



commit 1545d4e6385dfdbe70c777ff98df862d0f9be026
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Jul 6 00:29:23 2015 -0700

    Put G_GNUC_CONST at the end of the declarations
    
    These attributes go at the end, not the beginning.

 src/meta/meta-shadow-factory.h |    3 +--
 src/meta/meta-window-shape.h   |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/meta/meta-shadow-factory.h b/src/meta/meta-shadow-factory.h
index 2109c04..730faf4 100644
--- a/src/meta/meta-shadow-factory.h
+++ b/src/meta/meta-shadow-factory.h
@@ -27,8 +27,7 @@
 #include <clutter/clutter.h>
 #include <meta/meta-window-shape.h>
 
-G_GNUC_CONST
-GType meta_shadow_get_type (void);
+GType meta_shadow_get_type (void) G_GNUC_CONST;
 
 /**
  * MetaShadowParams:
diff --git a/src/meta/meta-window-shape.h b/src/meta/meta-window-shape.h
index ddf638a..b10adf0 100644
--- a/src/meta/meta-window-shape.h
+++ b/src/meta/meta-window-shape.h
@@ -26,8 +26,7 @@
 #include <cairo.h>
 #include <glib-object.h>
 
-G_GNUC_CONST
-GType meta_window_shape_get_type (void);
+GType meta_window_shape_get_type (void) G_GNUC_CONST;
 
 /**
  * MetaWindowShape:


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