diff options
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 15 |
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; -} |