[gthumb] fixed compiler warnings



commit 77d188854a80a0becf1f65eef586fafc95a1c1db
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Tue Sep 4 20:32:51 2012 +0200

    fixed compiler warnings

 gthumb/gth-image-utils.h  |    4 +++-
 gthumb/gth-thumb-loader.c |    1 +
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-image-utils.h b/gthumb/gth-image-utils.h
index 03c0f46..8407d52 100644
--- a/gthumb/gth-image-utils.h
+++ b/gthumb/gth-image-utils.h
@@ -22,10 +22,10 @@
 #ifndef GTH_IMAGE_UTILS_H
 #define GTH_IMAGE_UTILS_H
 
-
 #include <glib.h>
 #include "gth-file-data.h"
 
+G_BEGIN_DECLS
 
 typedef enum /*< skip >*/ {
 	IMAGE_SIZE_320x200,
@@ -73,4 +73,6 @@ gboolean    _g_buffer_resize_image               (void            *buffer,
 						  GCancellable    *cancellable,
 						  GError         **error);
 
+G_END_DECLS
+
 #endif /* GTH_IMAGE_UTILS_H */
diff --git a/gthumb/gth-thumb-loader.c b/gthumb/gth-thumb-loader.c
index 53e3af8..e05a742 100644
--- a/gthumb/gth-thumb-loader.c
+++ b/gthumb/gth-thumb-loader.c
@@ -35,6 +35,7 @@
 #include "gnome-desktop-thumbnail.h"
 #include "gth-error.h"
 #include "gth-image-loader.h"
+#include "gth-image-utils.h"
 #include "gth-main.h"
 #include "gth-thumb-loader.h"
 #include "pixbuf-io.h"



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