summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-ui-utilities.c
diff options
context:
space:
mode:
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);
}
}