[SCM] calf/master: Unbreak assertion in plugins.

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:40:03 UTC 2013


The following commit has been merged in the master branch:
commit ccfe9684f8943cf086af6560ec82ea8fc5af3ffa
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Wed Apr 7 20:52:49 2010 +0100

    Unbreak assertion in plugins.
    
    The main window interface is no longer necessary for the GUI. However,
    the environment interface is required.

diff --git a/src/gui.cpp b/src/gui.cpp
index 1d01227..3126b22 100644
--- a/src/gui.cpp
+++ b/src/gui.cpp
@@ -555,7 +555,7 @@ plugin_gui_window::plugin_gui_window(gui_environment_iface *_env, main_window_if
     command_actions = NULL;
     environment = _env;
     main = _main;
-    assert(main);
+    assert(environment);
 }
 
 string plugin_gui_window::make_gui_preset_list(GtkActionGroup *grp, bool builtin, char &ch)

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list