mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-08 23:51:27 +00:00
Dont redeclare DBusMessage* msg;
This commit is contained in:
parent
96b613eab3
commit
75dacdb99b
1 changed files with 4 additions and 4 deletions
|
|
@ -331,10 +331,10 @@ IBus_SetupConnection(SDL_DBusContext *dbus, const char* addr)
|
|||
}
|
||||
|
||||
if(result){
|
||||
DBusMessage *msg = dbus->message_new_method_call(IBUS_SERVICE,
|
||||
input_ctx_path,
|
||||
IBUS_INPUT_INTERFACE,
|
||||
"SetCapabilities");
|
||||
msg = dbus->message_new_method_call(IBUS_SERVICE,
|
||||
input_ctx_path,
|
||||
IBUS_INPUT_INTERFACE,
|
||||
"SetCapabilities");
|
||||
if(msg){
|
||||
Uint32 caps = IBUS_CAP_FOCUS | IBUS_CAP_PREEDIT_TEXT;
|
||||
dbus->message_append_args(msg,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue