From: Shawn Lee Date: Mon, 5 Aug 2013 12:53:37 +0000 (+0900) Subject: Moved the code of definition for DLOG message to e_zong.c and e_border.c from e.h, X-Git-Tag: 2.2_release~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8093a530b5a2d4fe47cc14865252cbbc4b83af59;p=platform%2Fcore%2Fuifw%2Fe17.git Moved the code of definition for DLOG message to e_zong.c and e_border.c from e.h, and added definition of BuildRequires for dlog in e17.spec. Change-Id: Ibc161548e66507140c9c29233195a42c893dd5a7 --- diff --git a/packaging/e17.spec b/packaging/e17.spec index e1649b9..998fdb4 100644 --- a/packaging/e17.spec +++ b/packaging/e17.spec @@ -34,6 +34,7 @@ BuildRequires: pkgconfig(eio) BuildRequires: pkgconfig(utilX) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) +BuildRequires: pkgconfig(dlog) BuildRequires: edje-bin BuildRequires: embryo-bin BuildRequires: eet-bin diff --git a/src/bin/e.h b/src/bin/e.h index 8ad5e0d..dc2cafe 100644 --- a/src/bin/e.h +++ b/src/bin/e.h @@ -45,12 +45,6 @@ void *alloca(size_t); # include # endif -# ifdef _F_USE_DLOG_ -# include "dlog.h" -# undef LOG_TAG -# define LOG_TAG "E17" -# endif - # include # include # include diff --git a/src/bin/e_border.c b/src/bin/e_border.c index d7af01d..4b0c188 100644 --- a/src/bin/e_border.c +++ b/src/bin/e_border.c @@ -22,6 +22,12 @@ //#define INOUTDEBUG_MOUSE 1 //#define INOUTDEBUG_FOCUS 1 +# ifdef _F_USE_DLOG_ +# include "dlog.h" +# undef LOG_TAG +# define LOG_TAG "E17" +# endif + /* These are compatible with netwm */ #define RESIZE_TL 0 #define RESIZE_T 1 diff --git a/src/bin/e_zone.c b/src/bin/e_zone.c index 5098829..a3e50b5 100644 --- a/src/bin/e_zone.c +++ b/src/bin/e_zone.c @@ -23,6 +23,12 @@ * in a xinerama setup. Each zone has one or more desktops. */ +# ifdef _F_USE_DLOG_ +# include "dlog.h" +# undef LOG_TAG +# define LOG_TAG "E17" +# endif + static void _e_zone_free(E_Zone *zone); static void _e_zone_cb_bg_mouse_down(void *data, Evas *evas,