forked from enlightenment/efl
elm_tooltip: use window as parent instead of NULL for elm_theme_object_set
Summary:
see 421217b150
If parent is NULL, is_legacy in _elm_theme_set is always true. and it will use
"efl/xxx" for mmap_set. this patch avoid this case.
fixes T6921
Test Plan:
1. elementary_test -to tooltip
2. check that "Hello", "Big Icon Tooltip", "Insanel Big Icon Tooltip" is working
Reviewers: zmike
Subscribers: cedric, ManMower, #committers
Tags: #efl
Maniphest Tasks: T6921
Differential Revision: https://phab.enlightenment.org/D6232
This commit is contained in:
parent
61dc4899b5
commit
121a85f2fc
|
@ -445,7 +445,7 @@ _elm_tooltip_reconfigure(Elm_Tooltip *tt)
|
|||
{
|
||||
const char *style = tt->style ? tt->style : "default";
|
||||
const char *str;
|
||||
if (!_elm_theme_object_set(tt->tt_win ? NULL : tt->owner, tt->tooltip,
|
||||
if (!_elm_theme_object_set(tt->tt_win ? : tt->owner, tt->tooltip,
|
||||
"tooltip", NULL, style))
|
||||
{
|
||||
ERR("Could not apply the theme to the tooltip! style=%s", style);
|
||||
|
|
Loading…
Reference in New Issue