[gnome-builder/wip/gtk4-port: 537/1774] plugins/restore-cursor: check availability correctly
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 537/1774] plugins/restore-cursor: check availability correctly
- Date: Mon, 11 Jul 2022 22:31:15 +0000 (UTC)
commit 533c720122ec1b6242eaa6e36d9c4af8f287db05
Author: Christian Hergert <chergert redhat com>
Date: Mon Apr 11 14:18:40 2022 -0700
plugins/restore-cursor: check availability correctly
src/plugins/restore-cursor/gbp-restore-cursor-buffer-addin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/restore-cursor/gbp-restore-cursor-buffer-addin.c
b/src/plugins/restore-cursor/gbp-restore-cursor-buffer-addin.c
index c6dae990b..4f8a67b91 100644
--- a/src/plugins/restore-cursor/gbp-restore-cursor-buffer-addin.c
+++ b/src/plugins/restore-cursor/gbp-restore-cursor-buffer-addin.c
@@ -84,7 +84,7 @@ gbp_restore_cursor_buffer_addin_file_loaded_cb (GObject *object,
g_assert (IDE_IS_BUFFER (buffer));
/* Don't do anything if the user already moved */
- if (_ide_buffer_can_restore_cursor (buffer))
+ if (!_ide_buffer_can_restore_cursor (buffer))
IDE_EXIT;
if (!(file_info = g_file_query_info_finish (file, result, &error)))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]