summaryrefslogtreecommitdiff
path: root/src/file-manager
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-11-23 11:58:30 +0200
committerJasmine Hassan <[email protected]>2012-11-23 11:58:30 +0200
commitae06676815e24a27549e0c79a74bc81c77822554 (patch)
treecde88ea4e11a2f0809da857feaefa6824d4ba8fa /src/file-manager
parentb00cccb74307a49df74deb785936e3cd9cf3a5ad (diff)
downloadcaja-ae06676815e24a27549e0c79a74bc81c77822554.tar.bz2
caja-ae06676815e24a27549e0c79a74bc81c77822554.tar.xz
[src] fix some incompatible pointer type warnings
including a silly mistake in caja-window where destroy function's return type was accidently ommitted during the addition of gtk version checks.
Diffstat (limited to 'src/file-manager')
-rw-r--r--src/file-manager/fm-list-view.c2
-rw-r--r--src/file-manager/fm-properties-window.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c
index f35fb656..1ed8cd91 100644
--- a/src/file-manager/fm-list-view.c
+++ b/src/file-manager/fm-list-view.c
@@ -451,7 +451,7 @@ get_filtered_selection_refs (GtkTreeView *tree_view)
static void
ref_list_free (GList *ref_list)
{
- g_list_free_full (ref_list, gtk_tree_row_reference_free);
+ g_list_free_full (ref_list, (GDestroyNotify) gtk_tree_row_reference_free);
}
static void
diff --git a/src/file-manager/fm-properties-window.c b/src/file-manager/fm-properties-window.c
index 73b28e2f..29666607 100644
--- a/src/file-manager/fm-properties-window.c
+++ b/src/file-manager/fm-properties-window.c
@@ -3425,7 +3425,7 @@ get_initial_emblems (GList *files)
ret = g_hash_table_new_full (g_direct_hash,
g_direct_equal,
NULL,
- (GFunc) g_free);
+ (GDestroyNotify) g_free);
for (l = files; l != NULL; l = l->next) {
CajaFile *file;