From: Paweł Forysiuk Date: Thu, 19 Jul 2012 19:40:27 +0000 (+0200) Subject: Fix typos in midori_debug uses X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae18206f7bb55d3ef316d21ca7c4e46ba0a41ab1;p=midori Fix typos in midori_debug uses --- diff --git a/midori/midori-bookmarks.c b/midori/midori-bookmarks.c index 035c36a3..ed3cc158 100644 --- a/midori/midori-bookmarks.c +++ b/midori/midori-bookmarks.c @@ -160,7 +160,7 @@ midori_bookmarks_initialize (KatzeArray* array, } #ifdef G_ENABLE_DEBUG - if (midori_debug ("bookmarks") + if (midori_debug ("bookmarks")) sqlite3_trace (db, midori_bookmarks_dbtracer, NULL); #endif diff --git a/midori/midori-view.c b/midori/midori-view.c index 04e7de41..f7297020 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -4237,7 +4237,7 @@ midori_view_set_uri (MidoriView* view, #ifdef G_ENABLE_DEBUG GTimer* timer = NULL; - if (midori_debug ("startup") + if (midori_debug ("startup")) timer = g_timer_new (); #endif @@ -4252,7 +4252,7 @@ midori_view_set_uri (MidoriView* view, speeddial_markup ? speeddial_markup : "", "about:blank", NULL); #ifdef G_ENABLE_DEBUG - if (midori_debug ("startup") + if (midori_debug ("startup")) { g_debug ("Speed Dial: \t%fs", g_timer_elapsed (timer, NULL)); g_timer_destroy (timer);