X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=atk-bridge%2Fbridge.c;h=7a3362a691f6d1710eebad5c4e427974767c2bc7;hb=1549eff5b0fda58d3684a4a01953a2c9892f59f5;hp=94a9fe8db7fe74388e2368b4c3645036f998132b;hpb=d600ed5cf22431ba27959e27b7fe75d75b76844a;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git diff --git a/atk-bridge/bridge.c b/atk-bridge/bridge.c index 94a9fe8..7a3362a 100644 --- a/atk-bridge/bridge.c +++ b/atk-bridge/bridge.c @@ -217,6 +217,8 @@ atk_bridge_init (gint *argc, gchar **argv[]) g_error ("Could not initialize Bonobo"); } + bonobo_activate (); + /* Create the accessible application server object */ this_app = spi_application_new (atk_get_root ()); /* @@ -275,8 +277,6 @@ spi_atk_bridge_do_registration (void) return FALSE; } - bonobo_activate (); - /* Create the accessible application server object */ if (this_app == NULL) this_app = spi_application_new (atk_get_root ()); @@ -743,7 +743,6 @@ spi_atk_emit_eventv (const GObject *gobject, AtkObject *aobject; SpiAccessible *source = NULL; Accessibility_Registry registry; - const gchar *name; #ifdef SPI_BRIDGE_DEBUG CORBA_string s = NULL; #endif @@ -771,7 +770,6 @@ spi_atk_emit_eventv (const GObject *gobject, va_end (args); return; } - name = atk_object_get_name (aobject); e.type = g_strdup_vprintf (format, args); if (source) e.source = BONOBO_OBJREF (source); e.detail1 = detail1;