aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-12-25 22:48:12 +0800
committerChristian Persch <chpe@src.gnome.org>2003-12-25 22:48:12 +0800
commiteb4ff191acf324ac1d789f1160f10afe5ea4dd2f (patch)
tree0019f52b69281a421fbba6c07e47d076b7d9b40e /src/ephy-window.c
parent1869f5b40756ca14c79f123f68d68579a8003163 (diff)
downloadgsoc2013-epiphany-eb4ff191acf324ac1d789f1160f10afe5ea4dd2f.tar
gsoc2013-epiphany-eb4ff191acf324ac1d789f1160f10afe5ea4dd2f.tar.gz
gsoc2013-epiphany-eb4ff191acf324ac1d789f1160f10afe5ea4dd2f.tar.bz2
gsoc2013-epiphany-eb4ff191acf324ac1d789f1160f10afe5ea4dd2f.tar.lz
gsoc2013-epiphany-eb4ff191acf324ac1d789f1160f10afe5ea4dd2f.tar.xz
gsoc2013-epiphany-eb4ff191acf324ac1d789f1160f10afe5ea4dd2f.tar.zst
gsoc2013-epiphany-eb4ff191acf324ac1d789f1160f10afe5ea4dd2f.zip
Bring ephy_window_get_toolbar signature in line with
2003-12-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_get_toolbar), (ephy_window_set_zoom): * src/ephy-window.h: * src/window-commands.c: (window_cmd_edit_toolbar), (window_cmd_load_location): Bring ephy_window_get_toolbar signature in line with ephy_window_get_[statusbar|notebook]. 2003-12-24 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: GDK_Meta_L is a keycode, not a modifier code. Map meta to GDK_MOD2_MASK.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 333205d62..579e3e301 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1727,6 +1727,15 @@ ephy_window_set_print_preview (EphyWindow *window, gboolean enabled)
ephy_notebook_set_show_tabs (EPHY_NOTEBOOK (window->priv->notebook), !enabled);
}
+
+GtkWidget *
+ephy_window_get_toolbar (EphyWindow *window)
+{
+ g_return_val_if_fail (EPHY_IS_WINDOW (window), NULL);
+
+ return GTK_WIDGET (window->priv->toolbar);
+}
+
GtkWidget *
ephy_window_get_notebook (EphyWindow *window)
{
@@ -2043,9 +2052,3 @@ ephy_window_set_zoom (EphyWindow *window,
ephy_embed_zoom_set (embed, zoom, TRUE);
}
}
-
-Toolbar *
-ephy_window_get_toolbar (EphyWindow *window)
-{
- return window->priv->toolbar;
-}