diff options
author | Victor Kareh <[email protected]> | 2019-02-01 07:07:24 -0500 |
---|---|---|
committer | lukefromdc <[email protected]> | 2019-02-02 00:14:51 +0000 |
commit | 4e42def6ff1c846d54e93260d116dc69eac97d2f (patch) | |
tree | 4712f41d15ab7f0a9305aa6f0505616f6795a2ed /src/file-manager/fm-directory-view.c | |
parent | e99050ad48b89cb8e1a5eaafbb9fdf2ffd418485 (diff) | |
download | caja-4e42def6ff1c846d54e93260d116dc69eac97d2f.tar.bz2 caja-4e42def6ff1c846d54e93260d116dc69eac97d2f.tar.xz |
Fix incompatible pointer types
Diffstat (limited to 'src/file-manager/fm-directory-view.c')
-rw-r--r-- | src/file-manager/fm-directory-view.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c index 7105036a..3c61e5a6 100644 --- a/src/file-manager/fm-directory-view.c +++ b/src/file-manager/fm-directory-view.c @@ -4441,7 +4441,7 @@ add_submenu (GtkUIManager *ui_manager, if (surface != NULL) { g_object_set_data_full (G_OBJECT (action), "menu-icon", cairo_surface_reference (surface), - cairo_surface_destroy); + (GDestroyNotify)cairo_surface_destroy); } g_object_set (action, "hide-if-empty", FALSE, NULL); @@ -4984,7 +4984,7 @@ add_extension_action_for_files (FMDirectoryView *view, if (surface != NULL) { g_object_set_data_full (G_OBJECT (action), "menu-icon", surface, - cairo_surface_destroy); + (GDestroyNotify)cairo_surface_destroy); } } @@ -5451,7 +5451,7 @@ add_script_to_scripts_menus (FMDirectoryView *directory_view, if (surface != NULL) { g_object_set_data_full (G_OBJECT (action), "menu-icon", surface, - cairo_surface_destroy); + (GDestroyNotify)cairo_surface_destroy); } g_signal_connect_data (action, "activate", @@ -5702,7 +5702,7 @@ add_template_to_templates_menus (FMDirectoryView *directory_view, if (surface != NULL) { g_object_set_data_full (G_OBJECT (action), "menu-icon", surface, - cairo_surface_destroy); + (GDestroyNotify)cairo_surface_destroy); } g_signal_connect_data (action, "activate", |