diff options
author | Matthias Clasen <mclasen@redhat.com> | 2012-08-27 23:36:42 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-08-28 00:08:07 -0400 |
commit | 4f12f7c029d8a4e7eaca633cb7e71c82a08be28d (patch) | |
tree | 7ab3e072e5e1caa9551abbbd822d54cf67a1ded9 /glib/gshell.c | |
parent | 702b44886572c657d552f3ec15e9794acd4265e5 (diff) | |
download | glib-4f12f7c029d8a4e7eaca633cb7e71c82a08be28d.tar.gz |
Use G_DEFINE_QUARK for GLib's own quarks
This commit just deals with glib/.
gobject/ and gio/ will be handled in separate commits.
Diffstat (limited to 'glib/gshell.c')
-rw-r--r-- | glib/gshell.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/glib/gshell.c b/glib/gshell.c index 205519e29..2ea144b32 100644 --- a/glib/gshell.c +++ b/glib/gshell.c @@ -54,11 +54,7 @@ * * Error codes returned by shell functions. **/ -GQuark -g_shell_error_quark (void) -{ - return g_quark_from_static_string ("g-shell-error-quark"); -} +G_DEFINE_QUARK ("g-shell-error-quark", g_shell_error) /* Single quotes preserve the literal string exactly. escape * sequences are not allowed; not even \' - if you want a ' |