aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmark-action.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks/ephy-bookmark-action.c')
-rw-r--r--src/bookmarks/ephy-bookmark-action.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-bookmark-action.c b/src/bookmarks/ephy-bookmark-action.c
index 52dad678b..6a3f2dc02 100644
--- a/src/bookmarks/ephy-bookmark-action.c
+++ b/src/bookmarks/ephy-bookmark-action.c
@@ -433,7 +433,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);
}
@@ -446,7 +446,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);