diff options
Diffstat (limited to 'src/bookmarks')
-rw-r--r-- | src/bookmarks/ephy-bookmarks-ui.c | 8 | ||||
-rw-r--r-- | src/bookmarks/ephy-topic-action.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/bookmarks/ephy-bookmarks-ui.c b/src/bookmarks/ephy-bookmarks-ui.c index dadfcd927..91479db85 100644 --- a/src/bookmarks/ephy-bookmarks-ui.c +++ b/src/bookmarks/ephy-bookmarks-ui.c @@ -116,7 +116,7 @@ activate_bookmark_properties (GtkAction *action, widget = gtk_widget_get_ancestor (egg_editable_toolbar_get_selected (etoolbar), GTK_TYPE_TOOL_ITEM); - baction = widget ? gtk_widget_get_action (widget) : NULL; + baction = widget ? gtk_activatable_get_related_action (GTK_ACTIVATABLE (widget)) : NULL; g_return_if_fail (EPHY_IS_BOOKMARK_ACTION (baction)); ephy_bookmarks_ui_show_bookmark (ephy_bookmark_action_get_bookmark @@ -132,7 +132,7 @@ activate_bookmark_open_tab (GtkAction *action, widget = gtk_widget_get_ancestor (egg_editable_toolbar_get_selected (etoolbar), GTK_TYPE_TOOL_ITEM); - baction = widget ? gtk_widget_get_action (widget) : NULL; + baction = widget ? gtk_activatable_get_related_action (GTK_ACTIVATABLE (widget)) : NULL; g_return_if_fail (EPHY_IS_BOOKMARK_ACTION (baction)); ephy_bookmark_action_activate (EPHY_BOOKMARK_ACTION (baction), widget, @@ -148,7 +148,7 @@ activate_bookmark_open_window (GtkAction *action, widget = gtk_widget_get_ancestor (egg_editable_toolbar_get_selected (etoolbar), GTK_TYPE_TOOL_ITEM); - baction = widget ? gtk_widget_get_action (widget) : NULL; + baction = widget ? gtk_activatable_get_related_action (GTK_ACTIVATABLE (widget)) : NULL; g_return_if_fail (EPHY_IS_BOOKMARK_ACTION (baction)); ephy_bookmark_action_activate (EPHY_BOOKMARK_ACTION (baction), widget, @@ -170,7 +170,7 @@ selected_bookmark_action (EggEditableToolbar *etoolbar, { widget = egg_editable_toolbar_get_selected (etoolbar); widget = widget ? gtk_widget_get_ancestor (widget, GTK_TYPE_TOOL_ITEM) : NULL; - baction = widget ? gtk_widget_get_action (widget) : NULL; + baction = widget ? gtk_activatable_get_related_action (GTK_ACTIVATABLE (widget)) : NULL; visible = EPHY_IS_BOOKMARK_ACTION (baction); } diff --git a/src/bookmarks/ephy-topic-action.c b/src/bookmarks/ephy-topic-action.c index 0ef63a50d..512a6a067 100644 --- a/src/bookmarks/ephy-topic-action.c +++ b/src/bookmarks/ephy-topic-action.c @@ -376,7 +376,7 @@ button_enter_cb (GtkWidget *button, gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (active_button))) { EphyTopicAction *active_action; - active_action = gtk_widget_get_action (GTK_WIDGET (active_button)); + active_action = (EphyTopicAction*)gtk_activatable_get_related_action (GTK_ACTIVATABLE (active_button)); erase_popup (active_action); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (active_button), FALSE); |