summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_systray.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-08-29 10:06:42 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-08-29 13:21:11 -0400
commitf442bdb3ee3c935aababd798c5b22b9a8064191e (patch)
treeba7a17faa0ce17c29d775c3e5293b3dde1be13e3 /src/lib/elementary/elm_systray.c
parenta55d57300b9dde5e1b6c29cfeb353593623ae806 (diff)
elm_systray: add back beta constructor
Summary: 1/2 year ago we have removed the automatic generation of legacy headers. In this go we also removed the installation of legacy eo beta APIs, as they definitly should not be used. However, there is the legacy systray API which does not depend directly on eo. Apps could use this before due to specifying the BETA define, now they only can call the API, but cannot construct the object they need. This adds this back under the beta tag, so those apps can continue working. I am not sure myself if i like the commit or not, its a beta thing, why should we fix it. However, Its quite a easy thing to add such a constructor method for us, and enables app to continue working. Reviewers: zmike, segfaultxavi Reviewed By: zmike Subscribers: jf_simon, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9757
Diffstat (limited to 'src/lib/elementary/elm_systray.c')
-rw-r--r--src/lib/elementary/elm_systray.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_systray.c b/src/lib/elementary/elm_systray.c
index a7bff14701..eef1617f07 100644
--- a/src/lib/elementary/elm_systray.c
+++ b/src/lib/elementary/elm_systray.c
@@ -514,4 +514,11 @@ _elm_unneed_systray(void)
514 } 514 }
515} 515}
516 516
517EAPI Elm_Systray*
518elm_systray_add(Evas_Object *win)
519{
520 return efl_add(ELM_SYSTRAY_CLASS, win);
521}
522
523
517#include "elm_systray_eo.c" 524#include "elm_systray_eo.c"