diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2010-12-12 15:51:06 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2010-12-12 15:51:06 +0100 |
| commit | c8caea8a8510c31fc028501acf44734f48b8dc3b (patch) | |
| tree | f6d33dd4953c43b42d1d962223a0d05384b5e1a1 /src/gallery-utils.h | |
| parent | 1089f1fcf55591dd4b5d47ee963bfe0e24cf9ad5 (diff) | |
| download | cataract-c8caea8a8510c31fc028501acf44734f48b8dc3b.tar.xz | |
Cleanup header defines
Diffstat (limited to 'src/gallery-utils.h')
| -rw-r--r-- | src/gallery-utils.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/gallery-utils.h b/src/gallery-utils.h index b354a38..521a1fe 100644 --- a/src/gallery-utils.h +++ b/src/gallery-utils.h @@ -15,14 +15,15 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -#ifdef __cplusplus - extern "C" { -#endif +#ifndef __CGG__GALLERY_UTILS_H__ +#define __CGG__GALLERY_UTILS_H__ #include <glib.h> #include <string.h> +G_BEGIN_DECLS + + #define IS_DIR_SEP(ch) ((ch) == '/' || (ch) == '~') #define IS_EQUAL_SIGN(ch) ((ch) == '=') #define GET_EXT(s) strrchr (s, '.') @@ -79,6 +80,6 @@ void log_error (const gchar *format, ...) G_GNUC_PRINTF (1, 2); gboolean needs_update (const gchar *source, const gchar *dest); -#ifdef __cplusplus - } -#endif +G_END_DECLS + +#endif /* __CGG__GALLERY_UTILS_H__ */ |
