[gnome-builder/wip/gtk4-port] plugins/copyright: fix missing context parameter



commit 3de045e9e8ca3c1dd59d12b2a6e5aae59c4e3bc7
Author: Christian Hergert <chergert redhat com>
Date:   Fri Apr 29 09:28:34 2022 -0700

    plugins/copyright: fix missing context parameter

 src/plugins/copyright/copyright_plugin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/copyright/copyright_plugin.py b/src/plugins/copyright/copyright_plugin.py
index 79cb95bd1..aa21508c1 100644
--- a/src/plugins/copyright/copyright_plugin.py
+++ b/src/plugins/copyright/copyright_plugin.py
@@ -104,7 +104,7 @@ class CopyrightBufferAddin(Ide.Object, Ide.BufferAddin):
             iter = match_end
 
 class CopyrightPreferencesAddin(GObject.Object, Ide.PreferencesAddin):
-    def do_load(self, window):
+    def do_load(self, window, context):
         Ide.add_preference_items(window, [
             {
                 'kind': 'toggle',


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