src: Replace deprecated BOOL with BOOLEAN for glib-genmarshal

This commit is contained in:
fujiwarat 2018-08-07 20:33:32 +09:00
Родитель 5db6e7b40e
Коммит b94e8f2d99
7 изменённых файлов: 15 добавлений и 46 удалений

Просмотреть файл

@ -430,26 +430,6 @@ _panel_update_auxiliary_text_received_cb (BusPanelProxy *panel,
ibus->panel, text, visible);
}
static void
_panel_show_lookup_table_received_cb (BusPanelProxy *panel,
BusIBusImpl *ibus)
{
g_return_if_fail (BUS_IS_IBUS_IMPL (ibus));
if (ibus->panel)
bus_panel_proxy_show_lookup_table (ibus->panel);
}
static void
_panel_hide_lookup_table_received_cb (BusPanelProxy *panel,
BusIBusImpl *ibus)
{
g_return_if_fail (BUS_IS_IBUS_IMPL (ibus));
if (ibus->panel)
bus_panel_proxy_hide_lookup_table (ibus->panel);
}
static void
_registry_changed_cb (IBusRegistry *registry,
BusIBusImpl *ibus)

Просмотреть файл

@ -353,7 +353,7 @@ bus_input_context_class_init (BusInputContextClass *class)
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,
bus_marshal_BOOL__UINT_UINT_UINT,
bus_marshal_BOOLEAN__UINT_UINT_UINT,
G_TYPE_BOOLEAN,
3,
G_TYPE_UINT,

Просмотреть файл

@ -1,4 +1,4 @@
BOOL:UINT,UINT,UINT
BOOLEAN:UINT,UINT,UINT
OBJECT:STRING
VOID:INT,UINT
VOID:INT,INT,INT,INT

Просмотреть файл

@ -1,7 +1,7 @@
/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2016-2017 Takao Fujiwara <takao.fujiwara1@gmail.com>
* Copyright (C) 2016-2018 Takao Fujiwara <takao.fujiwara1@gmail.com>
* Copyright (C) 2016 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or

Просмотреть файл

@ -185,7 +185,6 @@ static void ibus_engine_dbus_property_changed
(IBusEngine *engine,
const gchar *property_name,
GVariant *value);
static void ibus_engine_keybinding_free (IBusEngine *engine);
G_DEFINE_TYPE (IBusEngine, ibus_engine, IBUS_TYPE_SERVICE)
@ -387,7 +386,7 @@ ibus_engine_class_init (IBusEngineClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (IBusEngineClass, process_key_event),
g_signal_accumulator_true_handled, NULL,
_ibus_marshal_BOOL__UINT_UINT_UINT,
_ibus_marshal_BOOLEAN__UINT_UINT_UINT,
G_TYPE_BOOLEAN,
3,
G_TYPE_UINT,
@ -1585,16 +1584,6 @@ ibus_engine_dbus_property_changed (IBusEngine *engine,
g_object_unref (message);
}
static void
ibus_engine_keybinding_free (IBusEngine *engine)
{
IBusEnginePrivate *priv;
g_return_if_fail (IBUS_IS_ENGINE (engine));
priv = engine->priv;
}
IBusEngine *
ibus_engine_new (const gchar *engine_name,
const gchar *object_path,

Просмотреть файл

@ -1,23 +1,23 @@
VOID:NONE
VOID:VOID
VOID:OBJECT
VOID:POINTER
VOID:STRING
VOID:STRING,INT
VOID:STRING,UINT
BOOL:POINTER
BOOL:POINTER,POINTER
BOOL:UINT,UINT
BOOL:UINT,UINT,UINT
BOOL:ULONG
BOOLEAN:POINTER
BOOLEAN:POINTER,POINTER
BOOLEAN:UINT,UINT
BOOLEAN:UINT,UINT,UINT
BOOLEAN:ULONG
VOID:INT,INT,INT,INT
VOID:UINT,UINT
VOID:INT,UINT
VOID:UINT,UINT,UINT
VOID:OBJECT,UINT,BOOL
VOID:OBJECT,UINT,BOOL,UINT
VOID:OBJECT,UINT,BOOLEAN
VOID:OBJECT,UINT,BOOLEAN,UINT
VOID:OBJECT,UINT,UINT
VOID:OBJECT,BOOL
VOID:BOXED,BOOL
VOID:OBJECT,BOOLEAN
VOID:BOXED,BOOLEAN
VOID:BOXED
VOID:STRING,STRING,VARIANT
VOID:STRING,STRING,STRING

Просмотреть файл

@ -991,7 +991,7 @@ ibus_panel_service_class_init (IBusPanelServiceClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (IBusPanelServiceClass, process_key_event),
g_signal_accumulator_true_handled, NULL,
_ibus_marshal_BOOL__UINT_UINT_UINT,
_ibus_marshal_BOOLEAN__UINT_UINT_UINT,
G_TYPE_BOOLEAN,
3,
G_TYPE_UINT,