summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-01-31 17:10:59 +0100
committerBastien Nocera <hadess@hadess.net>2014-01-31 17:15:00 +0100
commit111a86e0f14583b4386831208f71e5d9a078d2c3 (patch)
tree6f9ea3b84b0d2dc2b3940673e1a66e36ab918e95
parent053b121302b72bd0c510919d2805775b3f083994 (diff)
downloadtotem-111a86e0f14583b4386831208f71e5d9a078d2c3.tar.gz
main: Fix warnings about GDateTime refcounts
grl_media_get_modification_date() doesn't return a reference to the GDateTime, so we shouldn't unref it.
-rw-r--r--src/totem-grilo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/totem-grilo.c b/src/totem-grilo.c
index 1a4f5095c..d97f57c1a 100644
--- a/src/totem-grilo.c
+++ b/src/totem-grilo.c
@@ -443,7 +443,6 @@ update_media (GtkTreeStore *model,
g_clear_object (&thumbnail);
g_free (secondary);
- g_clear_pointer (&mtime, g_date_time_unref);
}
static void
@@ -522,7 +521,6 @@ add_media_to_model (GtkTreeStore *model,
g_clear_object (&thumbnail);
g_free (secondary);
- g_clear_pointer (&mtime, g_date_time_unref);
}
static void