projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b78540
)
init null wl mime types array when new type is offered
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Wed, 12 Aug 2015 22:42:42 +0000
(18:42 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Wed, 12 Aug 2015 22:42:42 +0000
(18:42 -0400)
src/bin/e_comp_wl_data.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl_data.c
b/src/bin/e_comp_wl_data.c
index
a45c44d
..
06b17db
100644
(file)
--- a/
src/bin/e_comp_wl_data.c
+++ b/
src/bin/e_comp_wl_data.c
@@
-93,6
+93,8
@@
_e_comp_wl_data_source_cb_offer(struct wl_client *client EINA_UNUSED, struct wl_
if (!(source = wl_resource_get_user_data(resource)))
return;
+ if (!source->mime_types)
+ source->mime_types = eina_array_new(1);
eina_array_push(source->mime_types, eina_stringshare_add(mime_type));
}