patch-libs_gtkmm2ext_fastmeter_cc 591 B

12345678910111213141516171819
  1. $OpenBSD: patch-libs_gtkmm2ext_fastmeter_cc,v 1.3 2016/10/28 13:46:17 ajacoutot Exp $
  2. From 65c2e089ab263c83bff7d2e945b80c53f80b749b Mon Sep 17 00:00:00 2001
  3. From: Nils Philippsen <nils@tiptoe.de>
  4. Date: Thu, 4 Aug 2016 09:48:47 +0200
  5. Subject: [PATCH] workaround changes in glibmm 2.49.x
  6. --- libs/gtkmm2ext/fastmeter.cc.orig Fri Oct 28 11:31:43 2016
  7. +++ libs/gtkmm2ext/fastmeter.cc Fri Oct 28 12:03:26 2016
  8. @@ -475,7 +475,7 @@ FastMeter::set (float lvl)
  9. Glib::RefPtr<Gdk::Window> win;
  10. - if ((win = get_window()) == 0) {
  11. + if (! (win = get_window())) {
  12. queue_draw ();
  13. return;
  14. }