diff options
author | infirit <[email protected]> | 2014-07-25 23:32:02 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-07-25 23:32:02 +0200 |
commit | 13f1c75845c8a55a95d2c5426dbf343e3828bc78 (patch) | |
tree | 07c1951b46918f3a10074afa8bb790c35ffe3ea7 /src/eom-exif-util.c | |
parent | 9ce85a9895d14305eda3e782d047cf7ca49354a5 (diff) | |
download | eom-13f1c75845c8a55a95d2c5426dbf343e3828bc78.tar.bz2 eom-13f1c75845c8a55a95d2c5426dbf343e3828bc78.tar.xz |
Don't use deprecated GLib threading API.
Diffstat (limited to 'src/eom-exif-util.c')
-rw-r--r-- | src/eom-exif-util.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/eom-exif-util.c b/src/eom-exif-util.c index 7fa0e99..c4074d6 100644 --- a/src/eom-exif-util.c +++ b/src/eom-exif-util.c @@ -48,6 +48,9 @@ #define GPOINTER_TO_BOOLEAN(i) ((gboolean) ((GPOINTER_TO_INT (i) == 2) ? TRUE : FALSE)) #endif +/* Define EogExifData type */ +G_DEFINE_BOXED_TYPE(EomExifData, eom_exif_data, eom_exif_data_copy, eom_exif_data_free) + static gpointer _check_strptime_updates_wday (gpointer data) { @@ -226,15 +229,3 @@ eom_exif_data_free (EomExifData *data) { exif_data_unref (data); } - -GType -eom_exif_data_get_type (void) -{ - static GType our_type = 0; - - if (our_type == 0) - our_type = g_boxed_type_register_static ("EomExifData", - (GBoxedCopyFunc) eom_exif_data_copy, - (GBoxedFreeFunc) eom_exif_data_free); - return our_type; -} |