aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-01-20 19:36:21 +0800
committerXan Lopez <xan@igalia.com>2012-01-20 19:36:21 +0800
commit408de86398e94e17f163d7844599840157cc0a10 (patch)
treef49212253d56990899cf919df82e0d966ae9818d /src/ephy-window.c
parent27bf25693a91b5ab978c949c79320c46d4dc4875 (diff)
downloadgsoc2013-epiphany-408de86398e94e17f163d7844599840157cc0a10.tar
gsoc2013-epiphany-408de86398e94e17f163d7844599840157cc0a10.tar.gz
gsoc2013-epiphany-408de86398e94e17f163d7844599840157cc0a10.tar.bz2
gsoc2013-epiphany-408de86398e94e17f163d7844599840157cc0a10.tar.lz
gsoc2013-epiphany-408de86398e94e17f163d7844599840157cc0a10.tar.xz
gsoc2013-epiphany-408de86398e94e17f163d7844599840157cc0a10.tar.zst
gsoc2013-epiphany-408de86398e94e17f163d7844599840157cc0a10.zip
More private method cleanups
Move another method to ephy-private.h, and stop exporting another one that is only used internally in EphyWindow.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 1c53fcbf0..94f3d2a70 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -3112,6 +3112,16 @@ ephy_window_set_chrome (EphyWindow *window, EphyWebViewChrome mask)
}
static void
+ephy_window_set_downloads_box_visibility (EphyWindow *window,
+ gboolean show)
+{
+ if (show)
+ gtk_widget_show (window->priv->downloads_box);
+ else
+ gtk_widget_hide (window->priv->downloads_box);
+}
+
+static void
download_added_cb (EphyEmbedShell *shell,
EphyDownload *download,
gpointer data)
@@ -3205,16 +3215,6 @@ setup_downloads_box (EphyWindow *window)
return widget;
}
-void
-ephy_window_set_downloads_box_visibility (EphyWindow *window,
- gboolean show)
-{
- if (show)
- gtk_widget_show (window->priv->downloads_box);
- else
- gtk_widget_hide (window->priv->downloads_box);
-}
-
static void
ephy_window_dispose (GObject *object)
{