Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
gThumb
Commits
22544ff4
Commit
22544ff4
authored
Dec 16, 2009
by
Paolo Bacchilega
Browse files
do not compare the value with itself
parent
886dbff6
Changes
1
Hide whitespace changes
Inline
Side-by-side
extensions/comments/main.c
View file @
22544ff4
...
...
@@ -120,9 +120,9 @@ comments__read_metadata_ready_cb (GthFileData *file_data,
metadata
=
(
GthMetadata
*
)
g_file_info_get_attribute_object
(
file_data
->
info
,
"general::datetime"
);
if
(
metadata
!=
NULL
)
{
text
=
gth_metadata_get_raw
(
metadata
);
metadata
=
(
GthMetadata
*
)
g_file_info_get_attribute_object
(
file_data
->
info
,
"comment::time"
);
if
(
metadata
!=
NULL
)
{
text
=
gth_metadata_get_raw
(
metadata
);
if
(
g_strcmp0
(
gth_metadata_get_raw
(
metadata
),
text
)
!=
0
)
{
gth_comment_set_time_from_exif_format
(
comment
,
gth_metadata_get_raw
(
metadata
));
write_comment
=
TRUE
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment