forked from AuroraMiddleware/gtk
GtkSearchEngine: Add debug spew
This lets us find out which search engine implementation is in use.
This commit is contained in:
parent
ff87c6516b
commit
b3abfaf9ee
@ -100,18 +100,27 @@ _gtk_search_engine_new (void)
|
||||
#ifdef HAVE_TRACKER
|
||||
engine = _gtk_search_engine_tracker_new ();
|
||||
if (engine)
|
||||
return engine;
|
||||
{
|
||||
g_debug ("Using Tracker search engine");
|
||||
return engine;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef GDK_WINDOWING_QUARTZ
|
||||
engine = _gtk_search_engine_quartz_new ();
|
||||
if (engine)
|
||||
return engine;
|
||||
{
|
||||
g_debug ("Using Quartz search engine");
|
||||
return engine;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (g_thread_supported ())
|
||||
engine = _gtk_search_engine_simple_new ();
|
||||
|
||||
{
|
||||
g_debug ("Using simple search engine");
|
||||
engine = _gtk_search_engine_simple_new ();
|
||||
}
|
||||
|
||||
return engine;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user