struct _AtspiDeviceListenerClass
{
GObjectClass parent_class;
- gboolean (*device_event) (AtspiDeviceListener *, const AtspiDeviceEvent *);
+ gboolean (*device_event) (AtspiDeviceListener *listener, const AtspiDeviceEvent *event);
};
GType atspi_device_listener_get_type (void);
/** @} */ /* End of GLib bindings internals */
-/** @addtogroup DBusGLib
- * @{
- */
-
/**
* atspi_dbus_connection_setup_with_g_main: (skip)
* @connection: the connection
{
if (priv->xkb_desc->map->key_sym_map[i].kt_index[0] == XkbOneLevelIndex)
{
- if (XKeycodeToKeysym (spi_get_display (), i, 0) != 0)
+ if (XkbKeycodeToKeysym (spi_get_display (), i, 0, 0) != 0)
{
/* don't use this one if there's a grab client! */
if (reserved)
{
priv->reserved_keycode = reserved;
- priv->reserved_keysym = XKeycodeToKeysym (spi_get_display (), reserved, 0);
+ priv->reserved_keysym = XkbKeycodeToKeysym (spi_get_display (), reserved, 0, 0);
}
else
{
GList *next;
GList *element;
gboolean first_item;
+ GList *dummy; /* suppress warning */
g_return_if_fail (element_ptr != NULL);
next = element->next;
first_item = (element->prev == NULL);
- g_list_remove_link (NULL, element);
+ dummy = g_list_remove_link (NULL, element);
for (l = working_list; l; l = l->next)
{
{
SpiRegistry *reg = SPI_REGISTRY (user_data);
DBusMessageIter iter, iter_struct;
- gchar *app_name, *obj_path;
+ const gchar *app_name, *obj_path;
DBusMessage *reply = NULL;
DBusMessageIter reply_iter;