summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2010-07-30 10:02:26 (GMT)
committerJonny Lamb <jonny.lamb@collabora.co.uk>2010-07-30 10:02:49 (GMT)
commitc3fa0214d986a1530aff3f6eb57f2a78042e5b6d (patch)
tree1c813b6c56003c6062887a2e04fb8e8e655af62b
parentad8d2b64718d1527012882d80df5c737205ae5e2 (diff)
downloadmonorail-c3fa0214d986a1530aff3f6eb57f2a78042e5b6d.tar.gz
monorail-c3fa0214d986a1530aff3f6eb57f2a78042e5b6d.tar.xz
monorail: cast g_object_unref to GFunc
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r--src/monorail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monorail.c b/src/monorail.c
index 254972f..619db9e 100644
--- a/src/monorail.c
+++ b/src/monorail.c
@@ -277,7 +277,7 @@ confirm_dialog_response_cb (GtkDialog *dialog,
if (data->selected_files != NULL)
{
- g_slist_foreach (data->selected_files, g_object_unref, NULL);
+ g_slist_foreach (data->selected_files, (GFunc) g_object_unref, NULL);
g_slist_free (data->selected_files);
data->selected_files = NULL;
}