garik pushed a commit to branch master.
commit d54bbd9147d18e82be04987df67775bbd87fa475
Author: Igor Murzov <[email protected]>
Date: Tue Jun 18 00:15:43 2013 +0400
Adapt to changes made in E18
---
configure.ac | 4 ++--
e_modules-news.spec.in | 4 ++--
src/news_popup.c | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/configure.ac b/configure.ac
index 508b5a9..8d61d64 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,7 +35,7 @@ AM_CONDITIONAL([HAVE_PO], [false])
])
AC_SUBST(LTLIBINTL)
-PKG_CHECK_MODULES(E, [enlightenment])
+PKG_CHECK_MODULES(E, [enlightenment >= 0.17.99])
release=$(pkg-config --variable=release enlightenment)
MODULE_ARCH="$host_os-$host_cpu-$release"
AC_SUBST(MODULE_ARCH)
@@ -43,7 +43,7 @@ AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module
architecture")
AC_DEFINE_UNQUOTED(MODULE_VERSION, "0.1.0", "Module version")
# Find edje_cc
-PKG_CHECK_MODULES(EDJE, [edje >= 0.5.0])
+PKG_CHECK_MODULES(EDJE, [edje >= 1.0])
AC_ARG_WITH(edje-cc,
AC_HELP_STRING([--with-edje-cc=PATH], [specify a specific path to edje_cc]),
[
diff --git a/e_modules-news.spec.in b/e_modules-news.spec.in
index 8a23efc..36832f4 100644
--- a/e_modules-news.spec.in
+++ b/e_modules-news.spec.in
@@ -13,8 +13,8 @@ Packager: %{?_packager:%{_packager}}%{!?_packager:Michael
Jennings <[email protected]
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment
Project (http://www.enlightenment.org/)}
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
BuildRequires: ecore-devel, evas-devel, edje-bin
-BuildRequires: edje-devel, eet-devel, enlightenment-devel >= 0.16.999
-Requires: enlightenment >= 0.16.999
+BuildRequires: edje-devel, eet-devel, enlightenment-devel >= 0.17.99
+Requires: enlightenment >= 0.17.99
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
diff --git a/src/news_popup.c b/src/news_popup.c
index d9bc2e6..ea525d1 100644
--- a/src/news_popup.c
+++ b/src/news_popup.c
@@ -59,7 +59,7 @@ news_popup_add(int type, const char *title, const char *text,
int timer, int (*f
return 0;
}
evas_event_freeze(popw->pop->evas);
- e_popup_layer_set(popw->pop, 255);
+ e_popup_layer_set(popw->pop, E_COMP_CANVAS_LAYER_POPUP, 0);
/* face and tb */
@@ -115,7 +115,7 @@ news_popup_add(int type, const char *title, const char
*text, int timer, int (*f
/* go ! */
evas_object_show(popw->face);
- e_popup_edje_bg_object_set(popw->pop, popw->face);
+ e_popup_content_set(popw->pop, popw->face);
evas_event_thaw(popw->pop->evas);
e_popup_show(popw->pop);
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev