[gnome-builder/wip/gtk4-port] libide/gui: fix access to context



commit 84b8fe6ecb33db22c901d97d9d56a5bf7397e4e1
Author: Christian Hergert <chergert redhat com>
Date:   Fri Apr 1 20:15:21 2022 -0700

    libide/gui: fix access to context

 src/libide/gui/ide-workspace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/gui/ide-workspace.c b/src/libide/gui/ide-workspace.c
index d15595aec..f27eb6538 100644
--- a/src/libide/gui/ide-workspace.c
+++ b/src/libide/gui/ide-workspace.c
@@ -441,7 +441,7 @@ ide_workspace_dispose (GObject *object)
   /* A reference is held during this so it is safe to run code after
    * chaining up to dispose. Force release teh context now.
    */
-  g_clear_object (&self->context);
+  g_clear_object (&priv->context);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]