[mutter] kms/update: Move auto-cleanup declaration to the bottom



commit 3ace2b9a2866c7de5ccb31e5a92cafdc6c22b596
Author: Jonas Ådahl <jadahl gmail com>
Date:   Fri Nov 8 23:56:03 2019 +0100

    kms/update: Move auto-cleanup declaration to the bottom
    
    It relies on visible function declarations, so move it to the bottom so
    we can add more auto-cleanup declarations same without them being spread
    out.
    
    https://gitlab.gnome.org/GNOME/mutter/merge_requests/930

 src/backends/native/meta-kms-update.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/backends/native/meta-kms-update.h b/src/backends/native/meta-kms-update.h
index 96f0c5c5c..4d055510d 100644
--- a/src/backends/native/meta-kms-update.h
+++ b/src/backends/native/meta-kms-update.h
@@ -57,8 +57,6 @@ MetaKmsUpdate * meta_kms_update_new (void);
 
 void meta_kms_update_free (MetaKmsUpdate *update);
 
-G_DEFINE_AUTOPTR_CLEANUP_FUNC (MetaKmsUpdate, meta_kms_update_free)
-
 void meta_kms_update_mode_set (MetaKmsUpdate   *update,
                                MetaKmsCrtc     *crtc,
                                GList           *connectors,
@@ -111,4 +109,6 @@ meta_fixed_16_rectangle_to_rectangle (MetaFixed16Rectangle fixed_rect)
   };
 }
 
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (MetaKmsUpdate, meta_kms_update_free)
+
 #endif /* META_KMS_UPDATE_H */


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