stop using gkd_pango_context_get() in ArdourCanvas::Canvas and require concrete insta...
[ardour.git] / libs / canvas / canvas.cc
index 22c586090ed123d6a907af4a78b361c23c828821..92100c9ce1dbe09ae950a8c2957b23dd5ef2a5af 100644 (file)
@@ -1259,6 +1259,12 @@ GtkCanvas::hide_tooltip ()
        }
 }
 
+Glib::RefPtr<Pango::Context>
+GtkCanvas::get_pango_context ()
+{
+       return Glib::wrap (gdk_pango_context_get());
+}
+
 /** Create a GtkCanvaSViewport.
  *  @param hadj Adjustment to use for horizontal scrolling.
  *  @param vadj Adjustment to use for vertica scrolling.