diff options
author | Nick Schermer <nick@xfce.org> | 2009-07-17 21:37:29 +0000 |
---|---|---|
committer | Nick Schermer <nick@xfce.org> | 2009-07-17 21:37:29 +0000 |
commit | 106cacf9742aabb3d3f6c557387cc37d9d06f6a6 (patch) | |
tree | f75535fe8ac5b4a32896b9fe85d752191d7670ed /exo-open | |
parent | 35e8346a9e3b699c52f092fdb5cc145eb87e683b (diff) | |
download | exo-106cacf9742aabb3d3f6c557387cc37d9d06f6a6.tar.gz |
Cleanup a bunch of code.
Use Glib macros for defining a type, saves a bunch
of code and is thread-safe.
Drop ; after G_{BEGIN,END}_DECLS macros.
Move G_GNUC_INTERNAL macros in front of the function
to avoid problems with Solaris. Remove them from the
code that is compiled as an executable.
Tabs and spaces cleanups.
(Old svn revision: 30340)
Diffstat (limited to 'exo-open')
-rw-r--r-- | exo-open/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/exo-open/main.c b/exo-open/main.c index 9e513b9..d93d197 100644 --- a/exo-open/main.c +++ b/exo-open/main.c @@ -39,7 +39,7 @@ /** * For testing this code the following commands should work: - * + * * exo-open --launch WebBrowser http://xfce.org (bug #5461). * exo-open --launch WebBrowser http://xfce.org bugs.xfce.org 'http://www.google.com/search?q=what is a space' 'http://wiki.xfce.org' * exo-open http://xfce.org @@ -166,7 +166,7 @@ main (int argc, char **argv) /* separate the arguments */ if (i > 1) join = g_string_append_c (join, ' '); - + /* only quote arguments with spaces if there are multiple * arguments to be merged, this is a bit of magic to make * common cares work property, see sample above with xfrun4 */ |