summaryrefslogtreecommitdiff
path: root/ibus
diff options
context:
space:
mode:
authorPeng Huang <shawn.p.huang@gmail.com>2011-04-08 09:49:20 -0400
committerPeng Huang <shawn.p.huang@gmail.com>2011-04-08 15:16:22 -0400
commit2f358544a1fcc9c8c3924a722b38a86d297c9da1 (patch)
tree5685f74dda1a1f69f13c4138590f73840074787e /ibus
parent782566b452ca688e619bc66015bf9e8b0685ef41 (diff)
downloadibus-2f358544a1fcc9c8c3924a722b38a86d297c9da1.tar.gz
Refine RequestName code and fix make dpkg errors.
BUG=none TEST=Linux Desktop Review URL: http://codereview.appspot.com/4368056
Diffstat (limited to 'ibus')
-rw-r--r--ibus/common.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/ibus/common.py b/ibus/common.py
index 38717d17..6483aaed 100644
--- a/ibus/common.py
+++ b/ibus/common.py
@@ -53,7 +53,6 @@ __all__ = (
"main_iteration",
"get_address",
"get_socket_path",
- "is_running_gnome_shell",
)
import os
@@ -112,9 +111,6 @@ get_address.restype=ctypes.c_char_p
get_socket_path = libibus.ibus_get_socket_path
get_socket_path.restype=ctypes.c_char_p
-is_running_gnome_shell = libibus.ibus_is_running_gnome_shell
-is_running_gnome_shell.restype = ctypes.c_bool
-
# __session_id = os.getenv ("IBUS_SESSION_ID")
#
# IBUS_ADDR = "unix:path=/tmp/ibus-%s%s/ibus-%s-%s" % (__username,