aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/ephy-shell.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6dfc9ba19..115eeac3b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2003-12-01 Marco Pesenti Gritti <marco@gnome.org>
+ * src/ephy-shell.c: (ephy_shell_get_history_window):
+
+ pass the shell to the callbacks as expected. Fix warnings.
+
+2003-12-01 Marco Pesenti Gritti <marco@gnome.org>
+
* embed/mozilla/mozilla-embed.cpp:
Handle case of get_location on an unrealized widget
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 62f12f860..abe7fb5bc 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -796,9 +796,9 @@ ephy_shell_get_history_window (EphyShell *gs)
gs->priv->history_window = ephy_history_window_new (history);
g_signal_connect (gs->priv->history_window, "show",
- G_CALLBACK (toolwindow_show_cb), NULL);
+ G_CALLBACK (toolwindow_show_cb), gs);
g_signal_connect (gs->priv->history_window, "hide",
- G_CALLBACK (toolwindow_hide_cb), NULL);
+ G_CALLBACK (toolwindow_hide_cb), gs);
}
return gs->priv->history_window;