$OpenBSD: patch-gtk2_ardour_panner2d_cc,v 1.1 2016/10/28 13:46:17 ajacoutot Exp $

From 65c2e089ab263c83bff7d2e945b80c53f80b749b Mon Sep 17 00:00:00 2001
From: Nils Philippsen <nils@tiptoe.de>
Date: Thu, 4 Aug 2016 09:48:47 +0200
Subject: [PATCH] workaround changes in glibmm 2.49.x

--- gtk2_ardour/panner2d.cc.orig	Fri Oct 28 13:21:48 2016
+++ gtk2_ardour/panner2d.cc	Fri Oct 28 13:21:59 2016
@@ -427,7 +427,7 @@ Panner2d::on_expose_event (GdkEventExpose *event)
 	gint x, y;
 	float fx, fy;
 
-	if (layout == 0) {
+	if (! layout) {
 		layout = create_pango_layout ("");
 		layout->set_font_description (get_style()->get_font());
 	}
