diff options
| author | Huang Peng <shawn.p.huang@gmail.com> | 2008-09-12 08:09:49 +0800 |
|---|---|---|
| committer | Huang Peng <shawn.p.huang@gmail.com> | 2008-09-12 08:09:49 +0800 |
| commit | bd9b695b5c81130f04f7315fcbef8a56a3c8291e (patch) | |
| tree | 4242374a26d883ccb007864dee01fc9303ad60af /client | |
| parent | e76fbfa8b7f5dbafb532e361feec25b7ca6150e7 (diff) | |
| download | ibus-bd9b695b5c81130f04f7315fcbef8a56a3c8291e.tar.gz ibus-bd9b695b5c81130f04f7315fcbef8a56a3c8291e.tar.xz ibus-bd9b695b5c81130f04f7315fcbef8a56a3c8291e.zip | |
Add debug code to output environ.
Diffstat (limited to 'client')
| -rw-r--r-- | client/gtk2/ibusim.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/client/gtk2/ibusim.c b/client/gtk2/ibusim.c index a078f64..8db5316 100644 --- a/client/gtk2/ibusim.c +++ b/client/gtk2/ibusim.c @@ -25,7 +25,6 @@ #include "ibusimcontext.h" #define IBUS_LOCALDIR "" - static const GtkIMContextInfo ibus_im_info = { "ibus", "iBus (Intelligent Input Bus)", @@ -44,6 +43,14 @@ im_module_init (GTypeModule *type_module) { ibus_im_client_register_type(type_module); ibus_im_context_register_type(type_module); +#if 0 + gchar **p = environ; + extern gchar **environ; + while (*p != NULL) { + g_fprintf (stderr, "%s\n", *p); + p ++; + } +#endif } void |
