[eog] Prevent redeclaration of typedef 'EogJob'.



commit aae3be0031991749d60631080867c403a7fd7348
Author: Jasper Lievisse Adriaanse <jasper humppa nl>
Date:   Fri Nov 15 09:01:49 2013 +0100

    Prevent redeclaration of typedef 'EogJob'.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=712354

 src/eog-jobs.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/eog-jobs.h b/src/eog-jobs.h
index 9139ab0..d2951d0 100644
--- a/src/eog-jobs.h
+++ b/src/eog-jobs.h
@@ -100,7 +100,11 @@ G_BEGIN_DECLS
 typedef struct _EogURIConverter EogURIConverter;
 #endif
 
+#ifndef __EOG_JOB_DECLR__
+#define __EOG_JOB_DECLR__
 typedef struct _EogJob               EogJob;
+#endif
+
 typedef struct _EogJobClass          EogJobClass;
 
 typedef struct _EogJobCopy           EogJobCopy;


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