Skip to content

Commit f952be3

Browse files
committed
pluma-window: make sure some resources are freed
1 parent 98edfd3 commit f952be3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎pluma/pluma-window.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ pluma_window_key_press_event (GtkWidget *widget,
352352
gtk_notebook_prev_page (notebook);
353353
else
354354
gtk_notebook_set_current_page (notebook, (pages - 1));
355-
return TRUE;
355+
handled = TRUE;
356356
}
357357

358358
if (event->keyval == GDK_KEY_Tab)
@@ -361,7 +361,7 @@ pluma_window_key_press_event (GtkWidget *widget,
361361
gtk_notebook_next_page (notebook);
362362
else
363363
gtk_notebook_set_current_page (notebook, 0);
364-
return TRUE;
364+
handled = TRUE;
365365
}
366366
}
367367
g_object_unref (settings);

0 commit comments

Comments
 (0)