[gtk+/gtk-3-16] Drop a redundant call
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-16] Drop a redundant call
- Date: Mon, 11 May 2015 18:24:02 +0000 (UTC)
commit 2954c9c09b2f282950c811ac8c3234bb3b90d83c
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Apr 30 22:42:49 2015 -0400
Drop a redundant call
g_thread_supported() is always TRUE nowadays, so drop the call.
gtk/gtksearchengine.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtksearchengine.c b/gtk/gtksearchengine.c
index 51b4c58..007b888 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]