[Xfce4-commits] <midori:master> Fix typos in midori_debug uses
Christian Dywan
noreply at xfce.org
Thu Jul 19 21:42:02 CEST 2012
Updating branch refs/heads/master
to ae18206f7bb55d3ef316d21ca7c4e46ba0a41ab1 (commit)
from 91befb0cccea39a60612a53bdcb5bb9b9eb25e62 (commit)
commit ae18206f7bb55d3ef316d21ca7c4e46ba0a41ab1
Author: Paweł Forysiuk <tuxator at o2.pl>
Date: Thu Jul 19 21:40:27 2012 +0200
Fix typos in midori_debug uses
midori/midori-bookmarks.c | 2 +-
midori/midori-view.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/midori/midori-bookmarks.c b/midori/midori-bookmarks.c
index 035c36a..ed3cc15 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 04e7de4..f729702 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);
More information about the Xfce4-commits
mailing list