summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-06-25 18:34:08 +0200
committerraveit65 <[email protected]>2019-06-29 16:24:57 +0200
commit4d8b9beeb8f4bd2fdccee746469ea49dce648b3f (patch)
treed0f99b859db9b3954d979d57f4977d378c893215
parent07c28249486691d0ed4f3e3ddbe4cce3103cc1de (diff)
downloadcaja-4d8b9beeb8f4bd2fdccee746469ea49dce648b3f.tar.bz2
caja-4d8b9beeb8f4bd2fdccee746469ea49dce648b3f.tar.xz
caja-desktop-window: suppress GtkAction warnings
-rw-r--r--src/caja-desktop-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/caja-desktop-window.c b/src/caja-desktop-window.c
index 369f03d5..b2b193cc 100644
--- a/src/caja-desktop-window.c
+++ b/src/caja-desktop-window.c
@@ -113,9 +113,11 @@ caja_desktop_window_init (CajaDesktopWindow *window)
gtk_widget_hide (CAJA_WINDOW (window)->details->menubar);
/* Don't allow close action on desktop */
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
action = gtk_action_group_get_action (CAJA_WINDOW (window)->details->main_action_group,
CAJA_ACTION_CLOSE);
gtk_action_set_sensitive (action, FALSE);
+ G_GNUC_END_IGNORE_DEPRECATIONS;
/* Set the accessible name so that it doesn't inherit the cryptic desktop URI. */
accessible = gtk_widget_get_accessible (GTK_WIDGET (window));