{
event_data *evdata;
gchar **data;
- GList *new_list;
spi_atk_add_client (bus_name);
evdata = (event_data *) g_malloc (sizeof (*evdata));
}
evdata->bus_name = g_strdup (bus_name);
evdata->data = data;
- new_list = g_list_append (spi_global_app_data->events, evdata);
- if (new_list)
- spi_global_app_data->events = new_list;
+ spi_global_app_data->events = g_list_append (spi_global_app_data->events, evdata);
}
static GSList *clients = NULL;
{
DBusMessage *reply;
SpiBridge *app = user_data;
- DBusMessage *message;
reply = dbus_pending_call_steal_reply (pending);
dbus_pending_call_unref (pending);
static gboolean
register_application (SpiBridge * app)
{
- DBusMessage *message, *reply;
+ DBusMessage *message;
DBusMessageIter iter;
DBusError error;
DBusPendingCall *pending;
static void
new_connection_cb (DBusServer *server, DBusConnection *con, void *data)
{
- GList *new_list;
-
dbus_connection_set_unix_user_function (con, user_check, NULL, NULL);
dbus_connection_ref(con);
atspi_dbus_connection_setup_with_g_main(con, NULL);
static void
remove_events (const char *bus_name, const char *event)
{
- event_data *evdata;
gchar **remove_data;
GList *list;
handle_event_listener_deregistered (DBusConnection *bus, DBusMessage *message,
void *user_data)
{
- const char *orig_name;
gchar *name;
char *sender;
GError *err = NULL;
DBusError error;
AtkObject *root;
- gchar *introspection_directory;
static gboolean inited = FALSE;
if (inited)