aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-04-14 20:21:40 +0800
committerChristian Persch <chpe@src.gnome.org>2004-04-14 20:21:40 +0800
commitb7e5c1f5940fac73daa92ad788f0f195ff9dedaa (patch)
tree0db5418769dba6638b3eba130a0cf43c235fa3a2 /src
parentf2738e3b37f0b84947059c310e5dc9e99dd3de12 (diff)
downloadgsoc2013-epiphany-b7e5c1f5940fac73daa92ad788f0f195ff9dedaa.tar
gsoc2013-epiphany-b7e5c1f5940fac73daa92ad788f0f195ff9dedaa.tar.gz
gsoc2013-epiphany-b7e5c1f5940fac73daa92ad788f0f195ff9dedaa.tar.bz2
gsoc2013-epiphany-b7e5c1f5940fac73daa92ad788f0f195ff9dedaa.tar.lz
gsoc2013-epiphany-b7e5c1f5940fac73daa92ad788f0f195ff9dedaa.tar.xz
gsoc2013-epiphany-b7e5c1f5940fac73daa92ad788f0f195ff9dedaa.tar.zst
gsoc2013-epiphany-b7e5c1f5940fac73daa92ad788f0f195ff9dedaa.zip
Add debug output.
2004-04-14 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_new_window_cb), (ephy_tab_visibility_cb), (ephy_tab_destroy_brsr_cb): Add debug output.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-tab.c9
1 files changed, 9 insertions, 0 deletions
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);