X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=adaptors%2Fwayland%2Fevent-handler-wl.cpp;h=52c23690793bff9e29eb5a227b3fa8176b2e0234;hb=d29af92b29951785df63f1cdf4d9ae303c44bbc5;hp=f8aa01e9f50653c4e26dc862e3500ccca8fd8b30;hpb=017fc7c4ab0219357c8d325f40feadc36f705362;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/adaptors/wayland/event-handler-wl.cpp b/adaptors/wayland/event-handler-wl.cpp index f8aa01e..52c2369 100644 --- a/adaptors/wayland/event-handler-wl.cpp +++ b/adaptors/wayland/event-handler-wl.cpp @@ -637,11 +637,7 @@ struct EventHandler::Impl static void VconfNotifyFontNameChanged( keynode_t* node, void* data ) { EventHandler* handler = static_cast( data ); - - StyleChange fontChange; - fontChange.defaultFontChange = true; - - handler->SendEvent( fontChange ); + handler->SendEvent( StyleChange::DEFAULT_FONT_CHANGE ); } /** @@ -650,11 +646,7 @@ struct EventHandler::Impl static void VconfNotifyFontSizeChanged( keynode_t* node, void* data ) { EventHandler* handler = static_cast( data ); - - StyleChange fontChange; - fontChange.defaultFontSizeChange = true; - - handler->SendEvent( fontChange ); + handler->SendEvent( StyleChange::DEFAULT_FONT_SIZE_CHANGE ); } // Data @@ -754,7 +746,7 @@ void EventHandler::SendMouseWheelEvent( MouseWheelEvent& wheelEvent ) mCoreEventInterface.ProcessCoreEvents(); } -void EventHandler::SendEvent(StyleChange styleChange) +void EventHandler::SendEvent( StyleChange::Type styleChange ) { DALI_ASSERT_DEBUG( mStyleMonitor && "StyleMonitor Not Available" ); GetImplementation( mStyleMonitor ).StyleChanged(styleChange);