aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-01-21 03:32:37 +0800
committerXan Lopez <xan@igalia.com>2012-01-21 03:33:47 +0800
commit1bd50c7c0b96ff320f6265ca62f682f7d15755d6 (patch)
tree970d29bfcbc290a925e802fea7f2cdd45934263f /src/ephy-window.c
parent85fa7b675ce68eff3326483b579acd8d3ae1c360 (diff)
downloadgsoc2013-epiphany-1bd50c7c0b96ff320f6265ca62f682f7d15755d6.tar
gsoc2013-epiphany-1bd50c7c0b96ff320f6265ca62f682f7d15755d6.tar.gz
gsoc2013-epiphany-1bd50c7c0b96ff320f6265ca62f682f7d15755d6.tar.bz2
gsoc2013-epiphany-1bd50c7c0b96ff320f6265ca62f682f7d15755d6.tar.lz
gsoc2013-epiphany-1bd50c7c0b96ff320f6265ca62f682f7d15755d6.tar.xz
gsoc2013-epiphany-1bd50c7c0b96ff320f6265ca62f682f7d15755d6.tar.zst
gsoc2013-epiphany-1bd50c7c0b96ff320f6265ca62f682f7d15755d6.zip
Make ephy_window_get_ui_manager return a GtkUIManager, not a GObject
No clue why it was doing that, but seems pointless. I wish I could make it private but it's used all over the place.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 8cfa995ca..d5655ec7e 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -3946,12 +3946,12 @@ ephy_window_new_with_chrome (EphyWebViewChrome chrome,
*
* Return value: (transfer none): an #GtkUIManager
**/
-GObject *
+GtkUIManager *
ephy_window_get_ui_manager (EphyWindow *window)
{
g_return_val_if_fail (EPHY_IS_WINDOW (window), NULL);
- return G_OBJECT (window->priv->manager);
+ return window->priv->manager;
}
/**