Skip to content

Commit 0b9d936

Browse files
committed
client/gtk2: Fix typo
1 parent 8da0167 commit 0b9d936

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

client/gtk2/ibusim.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/* vim:set et ts=4: */
33
/* ibus - The Input Bus
44
* Copyright (C) 2008-2010 Peng Huang <[email protected]>
5-
* Copyright (C) 2008-2010 Red Hat, Inc.
5+
* Copyright (C) 2008-2020 Red Hat, Inc.
66
*
77
* This library is free software; you can redistribute it and/or
88
* modify it under the terms of the GNU Lesser General Public
@@ -41,7 +41,7 @@ static const GtkIMContextInfo *info_list[] = {
4141
G_MODULE_EXPORT const gchar*
4242
g_module_check_init (GModule *module)
4343
{
44-
return null;
44+
return NULL;
4545
}
4646

4747
G_MODULE_EXPORT void

src/tests/ibus-desktop-testing-runner.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ _EOF
173173
# `su` command does not get focus in events without this variable.
174174
# Need to restart sshd after set "PermitRootLogin yes" in sshd_config
175175
if [ "x$XDG_RUNTIME_DIR" = x ] ; then
176-
export XDG_RUNTIME_DIR=/run/user/$UID
176+
export XDG_RUNTIME_DIR="/run/user/$UID"
177177
is_root_login=`grep "^PermitRootLogin" /etc/ssh/sshd_config | grep yes`
178178
if [ "x$ANSIBLE" != x ] && [ "x$is_root_login" = x ] ; then
179179
print_log -e "${RED}FAIL${NC}: No permission to get focus-in events in GtkWindow with ansible"

0 commit comments

Comments
 (0)