Remove unused variable.
authorNick Mainsbridge <beatroute@iprimus.com.au>
Wed, 3 Jun 2009 16:17:54 +0000 (16:17 +0000)
committerNick Mainsbridge <beatroute@iprimus.com.au>
Wed, 3 Jun 2009 16:17:54 +0000 (16:17 +0000)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5121 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/marker.cc
gtk2_ardour/utils.cc

index a2ed97b5161210863a0334f4545b7772dc9e6a3d..22fc535722d51a17282927729bf2f91077201591 100644 (file)
@@ -247,8 +247,7 @@ Marker::Marker (PublicEditor& ed, ArdourCanvas::Group& parent, guint32 rgba, con
        Gtk::Label foo;
        Glib::RefPtr<Pango::Layout> layout = foo.create_pango_layout (X_("Hg")); /* ascender + descender */
        int width;
-       int height;
-       
+
        layout->set_font_description (*name_font);
        Gtkmm2ext::get_ink_pixel_size (layout, width, name_height);
 
index fc43b4cde72e5a38e9f36a99a92fb57c6a21c2ca..42572c476be3cb3e38f2a385fce57a0a5e91854a 100644 (file)
@@ -793,7 +793,6 @@ convert_bgra_to_rgba (guint8 const* src,
 Glib::RefPtr<Gdk::Pixbuf>
 pixbuf_from_ustring(const ustring& name, Pango::FontDescription* font, int clip_width, int clip_height)
 {
-
        Glib::RefPtr<Gdk::Pixbuf> buf = Gdk::Pixbuf::create(Gdk::COLORSPACE_RGB, true, 8, clip_width, clip_height);
        cairo_surface_t* surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, clip_width, clip_height);
        cairo_t *cr = cairo_create (surface);