diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-04-30 22:42:49 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-04-30 22:43:50 -0400 |
commit | 1e9bfac18474c9eab337858ca005404ba3ca5a5f (patch) | |
tree | 26af9c93ec79ceef9ec1776889e035ac34b5d224 /gtk/gtksearchengine.c | |
parent | 0113da486895a98525e12e3717ee56d83ebcd7e3 (diff) | |
download | gtk+-1e9bfac18474c9eab337858ca005404ba3ca5a5f.tar.gz |
Drop a redundant call
g_thread_supported() is always TRUE nowadays, so drop the call.
Diffstat (limited to 'gtk/gtksearchengine.c')
-rw-r--r-- | gtk/gtksearchengine.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gtk/gtksearchengine.c b/gtk/gtksearchengine.c index 51b4c58413..007b888c00 100644 --- a/gtk/gtksearchengine.c +++ b/gtk/gtksearchengine.c @@ -115,11 +115,8 @@ _gtk_search_engine_new (void) } #endif - if (g_thread_supported ()) - { - g_debug ("Using simple search engine"); - engine = _gtk_search_engine_simple_new (); - } + g_debug ("Using simple search engine"); + engine = _gtk_search_engine_simple_new (); return engine; } |