diff options
author | Jasmine Hassan <[email protected]> | 2012-11-23 11:58:30 +0200 |
---|---|---|
committer | Jasmine Hassan <[email protected]> | 2012-11-23 11:58:30 +0200 |
commit | ae06676815e24a27549e0c79a74bc81c77822554 (patch) | |
tree | cde88ea4e11a2f0809da857feaefa6824d4ba8fa /src/file-manager | |
parent | b00cccb74307a49df74deb785936e3cd9cf3a5ad (diff) | |
download | caja-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.c | 2 | ||||
-rw-r--r-- | src/file-manager/fm-properties-window.c | 2 |
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; |