[gthumb] added an explicit cast to avoid a warning
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] added an explicit cast to avoid a warning
- Date: Sun, 4 Jul 2010 10:12:20 +0000 (UTC)
commit 7ab43d8e20718a4109a254e50085224b90ba28fe
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Jul 3 15:50:07 2010 +0200
added an explicit cast to avoid a warning
gthumb/gth-main-default-tests.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-main-default-tests.c b/gthumb/gth-main-default-tests.c
index de893ff..3104ef9 100644
--- a/gthumb/gth-main-default-tests.c
+++ b/gthumb/gth-main-default-tests.c
@@ -174,7 +174,7 @@ get_original_date_for_test (GthTest *test,
GthMetadata *metadata;
datetime = gth_datetime_new ();
- metadata = g_file_info_get_attribute_object (file_data->info, "Embedded::Photo::DateTimeOriginal");
+ metadata = (GthMetadata *) g_file_info_get_attribute_object (file_data->info, "Embedded::Photo::DateTimeOriginal");
if (metadata != NULL)
gth_datetime_from_exif_date (datetime, gth_metadata_get_raw (metadata));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]