summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-07-28 20:37:53 +0200
committerPablo Barciela <[email protected]>2018-07-28 20:37:53 +0200
commitf952be314bfc867bbc7ab249af960407a4c1aed7 (patch)
treeab7743578c7bdae790084ec6cbc42feb570ee903
parent98edfd338d1248d386fc211f27252d5fb9053dc9 (diff)
downloadpluma-f952be314bfc867bbc7ab249af960407a4c1aed7.tar.bz2
pluma-f952be314bfc867bbc7ab249af960407a4c1aed7.tar.xz
pluma-window: make sure some resources are freed
-rw-r--r--pluma/pluma-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pluma/pluma-window.c b/pluma/pluma-window.c
index 6c908bfc..b3ac4f47 100644
--- a/pluma/pluma-window.c
+++ b/pluma/pluma-window.c
@@ -352,7 +352,7 @@ pluma_window_key_press_event (GtkWidget *widget,
gtk_notebook_prev_page (notebook);
else
gtk_notebook_set_current_page (notebook, (pages - 1));
- return TRUE;
+ handled = TRUE;
}
if (event->keyval == GDK_KEY_Tab)
@@ -361,7 +361,7 @@ pluma_window_key_press_event (GtkWidget *widget,
gtk_notebook_next_page (notebook);
else
gtk_notebook_set_current_page (notebook, 0);
- return TRUE;
+ handled = TRUE;
}
}
g_object_unref (settings);