Fix typos in midori_debug uses
This commit is contained in:
parent
91befb0ccc
commit
ae18206f7b
2 changed files with 3 additions and 3 deletions
|
@ -160,7 +160,7 @@ midori_bookmarks_initialize (KatzeArray* array,
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef G_ENABLE_DEBUG
|
#ifdef G_ENABLE_DEBUG
|
||||||
if (midori_debug ("bookmarks")
|
if (midori_debug ("bookmarks"))
|
||||||
sqlite3_trace (db, midori_bookmarks_dbtracer, NULL);
|
sqlite3_trace (db, midori_bookmarks_dbtracer, NULL);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -4237,7 +4237,7 @@ midori_view_set_uri (MidoriView* view,
|
||||||
#ifdef G_ENABLE_DEBUG
|
#ifdef G_ENABLE_DEBUG
|
||||||
GTimer* timer = NULL;
|
GTimer* timer = NULL;
|
||||||
|
|
||||||
if (midori_debug ("startup")
|
if (midori_debug ("startup"))
|
||||||
timer = g_timer_new ();
|
timer = g_timer_new ();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -4252,7 +4252,7 @@ midori_view_set_uri (MidoriView* view,
|
||||||
speeddial_markup ? speeddial_markup : "", "about:blank", NULL);
|
speeddial_markup ? speeddial_markup : "", "about:blank", NULL);
|
||||||
|
|
||||||
#ifdef G_ENABLE_DEBUG
|
#ifdef G_ENABLE_DEBUG
|
||||||
if (midori_debug ("startup")
|
if (midori_debug ("startup"))
|
||||||
{
|
{
|
||||||
g_debug ("Speed Dial: \t%fs", g_timer_elapsed (timer, NULL));
|
g_debug ("Speed Dial: \t%fs", g_timer_elapsed (timer, NULL));
|
||||||
g_timer_destroy (timer);
|
g_timer_destroy (timer);
|
||||||
|
|
Loading…
Reference in a new issue