summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_selection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_selection.c')
-rw-r--r--src/lib/elementary/efl_selection.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_selection.c b/src/lib/elementary/efl_selection.c
index 5b6bccf2b0..657a7eb885 100644
--- a/src/lib/elementary/efl_selection.c
+++ b/src/lib/elementary/efl_selection.c
@@ -290,6 +290,11 @@ elm_cnp_selection_loss_callback_set(Evas_Object *obj, Elm_Sel_Type type,
290 Elm_Selection_Loss_Cb func, const void *data) 290 Elm_Selection_Loss_Cb func, const void *data)
291{ 291{
292 Sel_Lost_Data *ldata = calloc(1, sizeof(Sel_Lost_Data)); 292 Sel_Lost_Data *ldata = calloc(1, sizeof(Sel_Lost_Data));
293#if HAVE_ELEMENTARY_COCOA
294 // Currently, we have no way to track changes in Cocoa pasteboard.
295 // Therefore, don't track this...
296 return;
297#endif
293 if (!ldata) return; 298 if (!ldata) return;
294 ldata->obj = obj; 299 ldata->obj = obj;
295 ldata->type = type; 300 ldata->type = type;