X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=libspi%2Faction.c;h=1a23332efc216385c2093de5b9ff4e375fc64085;hb=4328426aeae1eeed7c2e696536351b224eeddbce;hp=7024a7a541ce36369db6de779da54fab1c337308;hpb=48e66ae4721d6da701864b1b171bcf542e9211fa;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git diff --git a/libspi/action.c b/libspi/action.c index 7024a7a..1a23332 100644 --- a/libspi/action.c +++ b/libspi/action.c @@ -20,24 +20,11 @@ * Boston, MA 02111-1307, USA. */ -/* - * component.c : bonobo wrapper for accessible component implementation - * - */ -#include -#include +/* component.c : bonobo wrapper for accessible component implementation */ +#include #include - -/* - * This pulls the CORBA definitions for the "Accessibility::Accessible" server - */ -#include - -/* - * This pulls the definition of the SpiAction bonobo object - */ -#include "action.h" +#include /* * Static function declarations @@ -72,7 +59,7 @@ static GObjectClass *parent_class; BONOBO_TYPE_FUNC_FULL (SpiAction, Accessibility_Action, - BONOBO_OBJECT_TYPE, + BONOBO_TYPE_OBJECT, spi_action); static void @@ -111,8 +98,7 @@ spi_action_finalize (GObject *obj) SpiAction * spi_action_interface_new (AtkObject *obj) { - SpiAction *new_action = - SPI_ACTION(g_object_new (SPI_ACTION_TYPE, NULL)); + SpiAction *new_action = g_object_new (SPI_ACTION_TYPE, NULL); new_action->atko = obj; g_object_ref (obj); return new_action;