summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2022-03-15 11:09:17 +0100
committerLuke from DC <[email protected]>2022-03-23 03:40:39 +0000
commit0a6562e8cb580286c6faf35513bcafe56ef55df6 (patch)
tree32507ae95ed3c21f1b7e5e90668eaa2f2e041127 /src
parentedee9dbcda52975afe110d6f3f2766b6b4724785 (diff)
downloadcaja-0a6562e8cb580286c6faf35513bcafe56ef55df6.tar.bz2
caja-0a6562e8cb580286c6faf35513bcafe56ef55df6.tar.xz
caja-application: Variable is assigned a value that is never used
Diffstat (limited to 'src')
-rw-r--r--src/caja-application.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/caja-application.c b/src/caja-application.c
index c000b27f..325126bb 100644
--- a/src/caja-application.c
+++ b/src/caja-application.c
@@ -2238,8 +2238,6 @@ static void
caja_application_startup (GApplication *app)
{
CajaApplication *self = CAJA_APPLICATION (app);
- gboolean exit_with_last_window;
- exit_with_last_window = TRUE;
/* chain up to the GTK+ implementation early, so gtk_init()
* is called for us.
@@ -2329,6 +2327,7 @@ caja_application_startup (GApplication *app)
if (running_in_mate () && !running_as_root())
{
GApplication *instance;
+ gboolean exit_with_last_window;
exit_with_last_window = g_settings_get_boolean (caja_preferences,
CAJA_PREFERENCES_EXIT_WITH_LAST_WINDOW);