summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-ui-utilities.c
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-02-01 07:07:24 -0500
committerlukefromdc <[email protected]>2019-02-02 00:14:51 +0000
commit4e42def6ff1c846d54e93260d116dc69eac97d2f (patch)
tree4712f41d15ab7f0a9305aa6f0505616f6795a2ed /libcaja-private/caja-ui-utilities.c
parente99050ad48b89cb8e1a5eaafbb9fdf2ffd418485 (diff)
downloadcaja-4e42def6ff1c846d54e93260d116dc69eac97d2f.tar.bz2
caja-4e42def6ff1c846d54e93260d116dc69eac97d2f.tar.xz
Fix incompatible pointer types
Diffstat (limited to 'libcaja-private/caja-ui-utilities.c')
-rw-r--r--libcaja-private/caja-ui-utilities.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcaja-private/caja-ui-utilities.c b/libcaja-private/caja-ui-utilities.c
index 3ae1225b..1cdb5125 100644
--- a/libcaja-private/caja-ui-utilities.c
+++ b/libcaja-private/caja-ui-utilities.c
@@ -192,7 +192,7 @@ caja_action_from_menu_item (CajaMenuItem *item,
{
g_object_set_data_full (G_OBJECT (action), "menu-icon",
surface,
- cairo_surface_destroy);
+ (GDestroyNotify)cairo_surface_destroy);
}
}
@@ -241,7 +241,7 @@ caja_toolbar_action_from_menu_item (CajaMenuItem *item, GtkWidget *parent_widget
{
g_object_set_data_full (G_OBJECT (action), "toolbar-icon",
surface,
- cairo_surface_destroy);
+ (GDestroyNotify)cairo_surface_destroy);
}
}