diff options
| author | Paul Eggert | 2012-08-21 09:54:50 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-08-21 09:54:50 -0700 |
| commit | 9b994fed3cc7af2cd748f92316e75d962b545728 (patch) | |
| tree | 74c6b1870618eae13af72cdaffbbf3a8ebabe884 /src/dbusbind.c | |
| parent | 01b13eb7fae39e64a3a6e2a0f5ef4ec058d16363 (diff) | |
| download | emacs-9b994fed3cc7af2cd748f92316e75d962b545728.tar.gz emacs-9b994fed3cc7af2cd748f92316e75d962b545728.zip | |
* dbusbind.c (xd_remove_watch): Do not assume C99 comments.
Diffstat (limited to 'src/dbusbind.c')
| -rw-r--r-- | src/dbusbind.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dbusbind.c b/src/dbusbind.c index c1b1310454c..f63f2948304 100644 --- a/src/dbusbind.c +++ b/src/dbusbind.c | |||
| @@ -1039,11 +1039,13 @@ xd_remove_watch (DBusWatch *watch, void *data) | |||
| 1039 | return; | 1039 | return; |
| 1040 | 1040 | ||
| 1041 | /* Unset session environment. */ | 1041 | /* Unset session environment. */ |
| 1042 | #if 0 | ||
| 1042 | if (XSYMBOL (QCdbus_session_bus) == data) | 1043 | if (XSYMBOL (QCdbus_session_bus) == data) |
| 1043 | { | 1044 | { |
| 1044 | // XD_DEBUG_MESSAGE ("unsetenv DBUS_SESSION_BUS_ADDRESS"); | 1045 | XD_DEBUG_MESSAGE ("unsetenv DBUS_SESSION_BUS_ADDRESS"); |
| 1045 | // unsetenv ("DBUS_SESSION_BUS_ADDRESS"); | 1046 | unsetenv ("DBUS_SESSION_BUS_ADDRESS"); |
| 1046 | } | 1047 | } |
| 1048 | #endif | ||
| 1047 | 1049 | ||
| 1048 | if (flags & DBUS_WATCH_WRITABLE) | 1050 | if (flags & DBUS_WATCH_WRITABLE) |
| 1049 | delete_write_fd (fd); | 1051 | delete_write_fd (fd); |