aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-topic-action.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks/ephy-topic-action.c')
-rw-r--r--src/bookmarks/ephy-topic-action.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-topic-action.c b/src/bookmarks/ephy-topic-action.c
index 4905b39a6..601bd11f8 100644
--- a/src/bookmarks/ephy-topic-action.c
+++ b/src/bookmarks/ephy-topic-action.c
@@ -397,7 +397,7 @@ remove_from_model (GtkWidget *widget)
pos = get_item_position (widget, NULL);
bookmarks = ephy_shell_get_bookmarks (ephy_shell);
- model = ephy_bookmarks_get_toolbars_model (bookmarks);
+ model = EGG_TOOLBARS_MODEL (ephy_bookmarks_get_toolbars_model (bookmarks));
egg_toolbars_model_remove_item (model, 0, pos);
}
@@ -410,7 +410,7 @@ move_in_model (GtkWidget *widget, int direction)
int pos, new_pos;
bookmarks = ephy_shell_get_bookmarks (ephy_shell);
- model = ephy_bookmarks_get_toolbars_model (bookmarks);
+ model = EGG_TOOLBARS_MODEL (ephy_bookmarks_get_toolbars_model (bookmarks));
pos = get_item_position (widget, NULL);
new_pos = MAX (0, pos + direction);