From b7e5c1f5940fac73daa92ad788f0f195ff9dedaa Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 14 Apr 2004 12:21:40 +0000 Subject: Add debug output. 2004-04-14 Christian Persch * src/ephy-tab.c: (ephy_tab_new_window_cb), (ephy_tab_visibility_cb), (ephy_tab_destroy_brsr_cb): Add debug output. --- src/ephy-tab.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src') diff --git a/src/ephy-tab.c b/src/ephy-tab.c index 179d86b3d..c71044806 100644 --- a/src/ephy-tab.c +++ b/src/ephy-tab.c @@ -936,6 +936,9 @@ ephy_tab_new_window_cb (EphyEmbed *embed, EphyEmbed **new_embed, EphyTab *new_tab; EphyWindow *window; + LOG ("ephy_tab_new_window_cb tab %p with parent %p chrome %d", + tab, ((GtkWidget *) tab)->parent, chromemask) + if (eel_gconf_get_boolean (CONF_LOCKDOWN_DISABLE_JAVASCRIPT_CHROME)) { window = ephy_window_new (); @@ -965,6 +968,9 @@ static void ephy_tab_visibility_cb (EphyEmbed *embed, gboolean visibility, EphyTab *tab) { + LOG ("ephy_tab_visibility_cb tab %p visibility %d", + tab, visibility) + if (visibility) { gtk_widget_show (GTK_WIDGET (tab)); @@ -987,6 +993,9 @@ ephy_tab_destroy_brsr_cb (EphyEmbed *embed, EphyTab *tab) g_return_if_fail (EPHY_IS_TAB (tab)); + LOG ("ephy_tab_destroy_browser_cb tab %p parent %p", + tab, ((GtkWidget *) tab)->parent) + window = ephy_tab_get_window (tab); g_return_if_fail (window != NULL); -- cgit v1.2.3