[yelp/webkit] Reorder debug calls, so that they are always called



commit e420b7757ac1a4ead20104f41e6984e1d32cb222
Author: Gustavo Noronha Silva <gns gnome org>
Date:   Tue Aug 18 19:33:50 2009 -0300

    Reorder debug calls, so that they are always called

 src/yelp-html.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/yelp-html.c b/src/yelp-html.c
index 446df8a..eca02a5 100644
--- a/src/yelp-html.c
+++ b/src/yelp-html.c
@@ -78,15 +78,15 @@ html_open_uri (WebKitWebView* view,
     gboolean block_load;
     gchar *real_uri;
 
+    debug_print (DB_FUNCTION, "entering\n");
+    debug_print (DB_ARG, "  uri = \"%s\"\n", uri);
+
     /* Only emit our signals on clicks */
     if (webkit_web_navigation_action_get_reason (action) != WEBKIT_WEB_NAVIGATION_REASON_LINK_CLICKED) {
 	webkit_web_policy_decision_use (decision);
 	return TRUE;
     }
 
-    debug_print (DB_FUNCTION, "entering\n");
-    debug_print (DB_ARG, "  uri = \"%s\"\n", uri);
-
     real_uri = g_strdup (uri);
 
     if (!html->priv->frames_enabled) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]