diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2006-04-04 04:14:17 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-04-04 04:14:17 +0000 |
commit | 9c0f0bb4514b1defc32c133afef4237f4e509894 (patch) | |
tree | 326ee6d17cc06c8ee88c901b08d4a98fc9ffed83 /gdk-pixbuf/gdk-pixbuf.c | |
parent | 8862bf9233278e56e92ed5ec5b0290d34032c18b (diff) | |
download | gtk+-9c0f0bb4514b1defc32c133afef4237f4e509894.tar.gz |
Small savings
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf.c')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf.c b/gdk-pixbuf/gdk-pixbuf.c index 8847c734e5..1bebc9b61a 100644 --- a/gdk-pixbuf/gdk-pixbuf.c +++ b/gdk-pixbuf/gdk-pixbuf.c @@ -542,11 +542,7 @@ GDK_PIXBUF_VAR const char *gdk_pixbuf_version = GDK_PIXBUF_VERSION; GQuark gdk_pixbuf_error_quark (void) { - static GQuark q = 0; - if (q == 0) - q = g_quark_from_static_string ("gdk-pixbuf-error-quark"); - - return q; + return g_quark_from_static_string ("gdk-pixbuf-error-quark"); } /** |