diff options
author | raveit65 <[email protected]> | 2019-06-25 18:34:08 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-07-20 00:11:34 +0200 |
commit | cf137f69de0587111230a9498f39cafe403522da (patch) | |
tree | 314437f781f0151d28aaa3d8e0f0ba8ecbad6c80 | |
parent | d466a1202242d42e10aad975d0c836fa20433501 (diff) | |
download | caja-cf137f69de0587111230a9498f39cafe403522da.tar.bz2 caja-cf137f69de0587111230a9498f39cafe403522da.tar.xz |
caja-desktop-window: suppress GtkAction warnings
-rw-r--r-- | src/caja-desktop-window.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/caja-desktop-window.c b/src/caja-desktop-window.c index 6b4af389..c063d06c 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)); |