summaryrefslogtreecommitdiff
path: root/src/caja-navigation-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-navigation-window.c')
-rw-r--r--src/caja-navigation-window.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/caja-navigation-window.c b/src/caja-navigation-window.c
index b64bb040..19174265 100644
--- a/src/caja-navigation-window.c
+++ b/src/caja-navigation-window.c
@@ -576,6 +576,7 @@ caja_navigation_window_key_press_event (GtkWidget *widget,
{
GtkAction *action;
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
action = gtk_action_group_get_action (window->details->navigation_action_group,
extra_navigation_window_keybindings[i].action);
@@ -585,6 +586,7 @@ caja_navigation_window_key_press_event (GtkWidget *widget,
gtk_action_activate (action);
return TRUE;
}
+ G_GNUC_END_IGNORE_DEPRECATIONS;
break;
}
@@ -754,10 +756,12 @@ caja_navigation_window_allow_back (CajaNavigationWindow *window, gboolean allow)
{
GtkAction *action;
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
action = gtk_action_group_get_action (window->details->navigation_action_group,
CAJA_ACTION_BACK);
gtk_action_set_sensitive (action, allow);
+ G_GNUC_END_IGNORE_DEPRECATIONS;
}
void
@@ -765,10 +769,12 @@ caja_navigation_window_allow_forward (CajaNavigationWindow *window, gboolean all
{
GtkAction *action;
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
action = gtk_action_group_get_action (window->details->navigation_action_group,
CAJA_ACTION_FORWARD);
gtk_action_set_sensitive (action, allow);
+ G_GNUC_END_IGNORE_DEPRECATIONS;
}
static void
@@ -893,6 +899,7 @@ caja_navigation_window_set_search_button (CajaNavigationWindow *window,
{
GtkAction *action;
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
action = gtk_action_group_get_action (window->details->navigation_action_group,
"Search");
@@ -901,6 +908,7 @@ caja_navigation_window_set_search_button (CajaNavigationWindow *window,
g_object_set_data (G_OBJECT (action), "blocked", GINT_TO_POINTER (1));
gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), state);
g_object_set_data (G_OBJECT (action), "blocked", NULL);
+ G_GNUC_END_IGNORE_DEPRECATIONS;
}
static void
@@ -1379,6 +1387,7 @@ caja_navigation_window_split_view_on (CajaNavigationWindow *window)
caja_window_slot_go_to (slot, location, FALSE);
g_object_unref (location);
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
action = gtk_action_group_get_action (CAJA_NAVIGATION_WINDOW (CAJA_WINDOW_PANE (pane)->window)->details->navigation_action_group,
CAJA_ACTION_SHOW_HIDE_LOCATION_BAR);
if (gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)))
@@ -1389,6 +1398,7 @@ caja_navigation_window_split_view_on (CajaNavigationWindow *window)
{
caja_navigation_window_pane_hide_location_bar (pane, TRUE);
}
+ G_GNUC_END_IGNORE_DEPRECATIONS;
}
void