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




commit 44f0e8427f34da152ca8bf44d43be0d64ae8515f
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]