summaryrefslogtreecommitdiff
path: root/audio/ardour/files/patch-libs_gtkmm2ext_fastmeter.cc
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
commit26b4c8f71f91d22e081b27814782686edde0c90a (patch)
tree1c321c39372c25d8634e75b5c8e08edc676b296d /audio/ardour/files/patch-libs_gtkmm2ext_fastmeter.cc
parentNew port: math/py-optuna: A hyperparameter optimization framework (diff)
Revert r559792 to unbreak INDEX and bulk -a
It seems a lot of reverse dependencies were missed With hat: portmgr
Diffstat (limited to 'audio/ardour/files/patch-libs_gtkmm2ext_fastmeter.cc')
-rw-r--r--audio/ardour/files/patch-libs_gtkmm2ext_fastmeter.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/ardour/files/patch-libs_gtkmm2ext_fastmeter.cc b/audio/ardour/files/patch-libs_gtkmm2ext_fastmeter.cc
new file mode 100644
index 000000000000..e123e4e24ed4
--- /dev/null
+++ b/audio/ardour/files/patch-libs_gtkmm2ext_fastmeter.cc
@@ -0,0 +1,11 @@
+--- libs/gtkmm2ext/fastmeter.cc.orig 2009-02-24 12:37:45 UTC
++++ libs/gtkmm2ext/fastmeter.cc
+@@ -476,7 +476,7 @@ FastMeter::set (float lvl)
+
+ Glib::RefPtr<Gdk::Window> win;
+
+- if ((win = get_window()) == 0) {
++ if (!(win = get_window())) {
+ queue_draw ();
+ return;
+ }