[gegl] fix deprecations: s/gexiv2_metadata_free/g_object_unref/
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] fix deprecations: s/gexiv2_metadata_free/g_object_unref/
- Date: Fri, 16 Dec 2016 13:40:12 +0000 (UTC)
commit d11001cc5cc72d1ba2e68d487c521280fc0b2a3b
Author: Øyvind Kolås <pippin gimp org>
Date: Fri Dec 16 14:39:35 2016 +0100
fix deprecations: s/gexiv2_metadata_free/g_object_unref/
bin/ui.c | 6 +++---
examples/gegl-video.c | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/bin/ui.c b/bin/ui.c
index 17cc556..1eb0c69 100644
--- a/bin/ui.c
+++ b/bin/ui.c
@@ -2036,7 +2036,7 @@ gegl_meta_set (const char *path,
if (error)
g_warning ("%s", error->message);
}
- gexiv2_metadata_free (e2m);
+ g_object_unref (e2m);
}
char *
@@ -2050,7 +2050,7 @@ gegl_meta_get (const char *path)
ret = gexiv2_metadata_get_tag_string (e2m, "Xmp.xmp.GEGL");
/*else
g_warning ("%s", error->message);*/
- gexiv2_metadata_free (e2m);
+ g_object_unref (e2m);
return ret;
}
@@ -2064,7 +2064,7 @@ GExiv2Orientation path_get_orientation (const char *path)
ret = gexiv2_metadata_get_orientation (e2m);
/*else
g_warning ("%s", error->message);*/
- gexiv2_metadata_free (e2m);
+ g_object_unref (e2m);
return ret;
}
diff --git a/examples/gegl-video.c b/examples/gegl-video.c
index 8a9170b..8d1162f 100644
--- a/examples/gegl-video.c
+++ b/examples/gegl-video.c
@@ -272,7 +272,7 @@ gegl_meta_set_audio (const char *path,
g_warning ("%s", error->message);
g_string_free (str, TRUE);
}
- gexiv2_metadata_free (e2m);
+ g_object_unref (e2m);
}
void
@@ -291,5 +291,5 @@ gegl_meta_get_audio (const char *path,
}
else
g_warning ("%s", error->message);
- gexiv2_metadata_free (e2m);
+ g_object_unref (e2m);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]