mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-15 09:55:55 +01:00
Remove unused variable.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5121 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f9cd51601f
commit
39c5c2bf6b
2 changed files with 1 additions and 3 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue