How about using E_ macro? We don't need _role_localized_name_get(). Just use E_ in _role_name_get().
Daniel Juyung Seo (SeoZ) On Sun, Dec 8, 2013 at 1:32 PM, Cedric BAIL <[email protected]> wrote: > cedric pushed a commit to branch master. > > > http://git.enlightenment.org/core/elementary.git/commit/?id=7d37995d3f26b66863003286280eb308960a83fd > > commit 7d37995d3f26b66863003286280eb308960a83fd > Author: Cedric Bail <[email protected]> > Date: Sun Dec 8 13:31:24 2013 +0900 > > atspi: handle build without gettext support. > --- > src/lib/elm_atspi_bridge.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/src/lib/elm_atspi_bridge.c b/src/lib/elm_atspi_bridge.c > index df976cf..79f5e26 100644 > --- a/src/lib/elm_atspi_bridge.c > +++ b/src/lib/elm_atspi_bridge.c > @@ -35,6 +35,7 @@ _role_name_get(const Eldbus_Service_Interface *iface > EINA_UNUSED, const Eldbus_M > return ret; > } > > +#ifdef ENABLE_NLS > static Eldbus_Message * > _role_localized_name_get(const Eldbus_Service_Interface *iface > EINA_UNUSED, const Eldbus_Message *msg) > { > @@ -44,11 +45,16 @@ _role_localized_name_get(const > Eldbus_Service_Interface *iface EINA_UNUSED, cons > > return ret; > } > +#endif > > static const Eldbus_Method accessible_methods[] = { > { "GetRole", NULL, ELDBUS_ARGS({"u", "Role"}), _role_get, 0 }, > { "GetRoleName", NULL, ELDBUS_ARGS({"s", "Name"}), _role_name_get, 0 }, > +#ifdef ENABLE_NLS > { "GetLocalizedRoleName", NULL, ELDBUS_ARGS({"s", "LocalizedName"}), > _role_localized_name_get, 0}, > +#else > + { "GetLocalizedRoleName", NULL, ELDBUS_ARGS({"s", "LocalizedName"}), > _role_name_get, 0}, > +#endif > { NULL, NULL, NULL, NULL, 0 } > }; > > > -- > > > ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
