]> spindle.queued.net Git - midori/commitdiff
Fix typos in midori_debug uses
authorPaweł Forysiuk <tuxator@o2.pl>
Thu, 19 Jul 2012 19:40:27 +0000 (21:40 +0200)
committerChristian Dywan <christian@twotoasts.de>
Thu, 19 Jul 2012 19:40:27 +0000 (21:40 +0200)
midori/midori-bookmarks.c
midori/midori-view.c

index 035c36a3cda9f717bc845e04db52afaaa841a99a..ed3cc15863019aab2b9cab35e4c2b361b1adfc75 100644 (file)
@@ -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
 
index 04e7de41c5fc11409050c388ae6fe721702dd292..f7297020718ca45719ed7f1253e9a3127d163a20 100644 (file)
@@ -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);