aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2011-12-14 00:16:23 +0800
committerXan Lopez <xan@igalia.com>2011-12-14 23:30:21 +0800
commita74877f7f28f105369acef053b339ceefce33c92 (patch)
treef0769f03fb07355c2d751500d80e70e1a2ea5034
parentc1c74c929c1e773d1f79d1b3bd0cf10bb572f8f9 (diff)
downloadgsoc2013-epiphany-a74877f7f28f105369acef053b339ceefce33c92.tar
gsoc2013-epiphany-a74877f7f28f105369acef053b339ceefce33c92.tar.gz
gsoc2013-epiphany-a74877f7f28f105369acef053b339ceefce33c92.tar.bz2
gsoc2013-epiphany-a74877f7f28f105369acef053b339ceefce33c92.tar.lz
gsoc2013-epiphany-a74877f7f28f105369acef053b339ceefce33c92.tar.xz
gsoc2013-epiphany-a74877f7f28f105369acef053b339ceefce33c92.tar.zst
gsoc2013-epiphany-a74877f7f28f105369acef053b339ceefce33c92.zip
Remove ephy_window_get_toolbar
The only use in window-commands.c is not superfluous.
-rw-r--r--doc/reference/epiphany-sections.txt1
-rw-r--r--doc/reference/tmpl/ephy-window.sgml9
-rw-r--r--src/ephy-window.c16
-rw-r--r--src/ephy-window.h2
-rw-r--r--src/window-commands.c3
5 files changed, 0 insertions, 31 deletions
diff --git a/doc/reference/epiphany-sections.txt b/doc/reference/epiphany-sections.txt
index 6a5d47191..4bf362f81 100644
--- a/doc/reference/epiphany-sections.txt
+++ b/doc/reference/epiphany-sections.txt
@@ -228,7 +228,6 @@ EphyWindow
ephy_window_new
ephy_window_new_with_chrome
ephy_window_get_ui_manager
-ephy_window_get_toolbar
ephy_window_get_notebook
ephy_window_get_find_toolbar
ephy_window_load_url
diff --git a/doc/reference/tmpl/ephy-window.sgml b/doc/reference/tmpl/ephy-window.sgml
index 861065217..c1b4bc888 100644
--- a/doc/reference/tmpl/ephy-window.sgml
+++ b/doc/reference/tmpl/ephy-window.sgml
@@ -52,15 +52,6 @@ EphyWindow
@Returns:
-<!-- ##### FUNCTION ephy_window_get_toolbar ##### -->
-<para>
-
-</para>
-
-@window:
-@Returns:
-
-
<!-- ##### FUNCTION ephy_window_get_notebook ##### -->
<para>
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 90a53bc0d..8b634292e 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -4224,22 +4224,6 @@ ephy_window_get_ui_manager (EphyWindow *window)
}
/**
- * ephy_window_get_toolbar:
- * @window: an #EphyWindow
- *
- * Returns this window's toolbar
- *
- * Return value: (transfer none): an #EphyToolbar
- **/
-GtkWidget *
-ephy_window_get_toolbar (EphyWindow *window)
-{
- g_return_val_if_fail (EPHY_IS_WINDOW (window), NULL);
-
- return GTK_WIDGET (window->priv->toolbar);
-}
-
-/**
* ephy_window_get_notebook:
* @window: an #EphyWindow
*
diff --git a/src/ephy-window.h b/src/ephy-window.h
index 1c2a3c600..40c1d8d2a 100644
--- a/src/ephy-window.h
+++ b/src/ephy-window.h
@@ -65,8 +65,6 @@ EphyWindow *ephy_window_new_with_chrome (EphyWebViewChrome chrome,
GObject *ephy_window_get_ui_manager (EphyWindow *window);
-GtkWidget *ephy_window_get_toolbar (EphyWindow *window);
-
GtkWidget *ephy_window_get_notebook (EphyWindow *window);
GtkWidget *ephy_window_get_find_toolbar (EphyWindow *window);
diff --git a/src/window-commands.c b/src/window-commands.c
index 3fb876513..dfb59698b 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -887,9 +887,6 @@ void
window_cmd_view_fullscreen (GtkAction *action,
EphyWindow *window)
{
- /* Otherwise the other toolbar layout shows briefly while switching */
- gtk_widget_hide (ephy_window_get_toolbar (window));
-
if (gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)))
{
GtkWidget *toolbar_editor;