[cheese/gnome-3-0] lib: move glib-object.h before G_BEGIN_DECLS in cheese-fileutil.h



commit ff22b469172f0bcd224a8423f61f825e97485310
Author: Lucas Rocha <lucasr gnome org>
Date:   Sun Apr 3 15:46:10 2011 +0100

    lib: move glib-object.h before G_BEGIN_DECLS in cheese-fileutil.h
    
    Fixes a build warning about implicit declaration.

 libcheese/cheese-fileutil.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libcheese/cheese-fileutil.h b/libcheese/cheese-fileutil.h
index 95fb650..010fac0 100644
--- a/libcheese/cheese-fileutil.h
+++ b/libcheese/cheese-fileutil.h
@@ -22,13 +22,13 @@
 #ifndef __CHEESE_FILEUTIL_H__
 #define __CHEESE_FILEUTIL_H__
 
+#include <glib-object.h>
+
 #define PHOTO_NAME_SUFFIX ".jpg"
 #define VIDEO_NAME_SUFFIX ".ogv"
 
 G_BEGIN_DECLS
 
-#include <glib-object.h>
-
 #define CHEESE_TYPE_FILEUTIL (cheese_fileutil_get_type ())
 #define CHEESE_FILEUTIL(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), CHEESE_TYPE_FILEUTIL, CheeseFileUtil))
 #define CHEESE_FILEUTIL_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), CHEESE_TYPE_FILEUTIL, CheeseFileUtilClass))



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