* with @engine_name, which gets emitted when IBusFactory
* received CreateEngine dbus method. The callback functions
* will be called until a callback returns a non-null object
- * of IBusEngine. */
+ * of IBusEngine.
+ */
factory_signals[CREATE_ENGINE] =
g_signal_new (I_("create-engine"),
G_TYPE_FROM_CLASS (gobject_class),
{
g_return_val_if_fail (G_IS_DBUS_CONNECTION (connection), NULL);
- IBusEngine *object = g_object_new (IBUS_TYPE_FACTORY,
- "object-path", IBUS_PATH_FACTORY,
- "connection", connection,
- NULL);
+ IBusFactory *object = g_object_new (IBUS_TYPE_FACTORY,
+ "object-path", IBUS_PATH_FACTORY,
+ "connection", connection,
+ NULL);
return IBUS_FACTORY (object);
}