aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks
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/bookmarks
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/bookmarks')
-rw-r--r--src/bookmarks/ephy-bookmarks-ui.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bookmarks/ephy-bookmarks-ui.c b/src/bookmarks/ephy-bookmarks-ui.c
index 994b32213..8cfe15057 100644
--- a/src/bookmarks/ephy-bookmarks-ui.c
+++ b/src/bookmarks/ephy-bookmarks-ui.c
@@ -87,7 +87,7 @@ activate_bookmarks_menu (GtkAction *action, EphyWindow *window)
BookmarksWindowData *data = g_object_get_data (G_OBJECT (window), BM_WINDOW_DATA_KEY);
if (data && !data->bookmarks_menu)
{
- GtkUIManager *manager = GTK_UI_MANAGER (ephy_window_get_ui_manager (window));
+ GtkUIManager *manager = ephy_window_get_ui_manager (window);
gtk_ui_manager_ensure_update (manager);
if (!bookmarks_menu_string->len)
@@ -111,7 +111,7 @@ erase_bookmarks_menu (EphyWindow *window)
BookmarksWindowData *data;
GtkUIManager *manager;
- manager = GTK_UI_MANAGER (ephy_window_get_ui_manager (window));
+ manager = ephy_window_get_ui_manager (window);
data = g_object_get_data (G_OBJECT (window), BM_WINDOW_DATA_KEY);
if (data != NULL && data->bookmarks_menu != 0)
@@ -177,7 +177,7 @@ ephy_bookmarks_ui_attach_window (EphyWindow *window)
data = g_object_get_data (G_OBJECT (window), BM_WINDOW_DATA_KEY);
g_return_if_fail (data == NULL);
- manager = GTK_UI_MANAGER (ephy_window_get_ui_manager (window));
+ manager = ephy_window_get_ui_manager (window);
data = g_new0 (BookmarksWindowData, 1);
g_object_set_data_full (G_OBJECT (window), BM_WINDOW_DATA_KEY, data, g_free);
@@ -245,7 +245,7 @@ ephy_bookmarks_ui_detach_window (EphyWindow *window)
EphyNode *topics = ephy_bookmarks_get_keywords (eb);
BookmarksWindowData *data = g_object_get_data (G_OBJECT (window), BM_WINDOW_DATA_KEY);
- GtkUIManager *manager = GTK_UI_MANAGER (ephy_window_get_ui_manager (window));
+ GtkUIManager *manager = ephy_window_get_ui_manager (window);
GtkAction *action;
g_return_if_fail (data != 0);