- fixed editor forced minimum size issue

- fixed thinko in selectable
- fixed incorrect virtual method signature in fft_graph



git-svn-id: svn://localhost/ardour2/trunk@665 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Jesse Chappell
2006-07-06 13:00:20 +00:00
parent 118175a3a2
commit ee58e757e9
4 changed files with 3 additions and 4 deletions

View File

@@ -2184,7 +2184,6 @@ Editor::set_state (const XMLNode& node)
yoff = atoi(geometry->property("y_off")->value());
}
set_geometry_hints (vpacker, g, Gdk::HINT_BASE_SIZE);
set_default_size (g.base_width, g.base_height);
move (x, y);

View File

@@ -384,7 +384,7 @@ FFTGraph::on_size_request(Gtk::Requisition* requisition)
}
void
FFTGraph::on_size_allocate(Gtk::Allocation alloc)
FFTGraph::on_size_allocate(Gtk::Allocation & alloc)
{
width = alloc.get_width();
height = alloc.get_height();

View File

@@ -51,7 +51,7 @@ class FFTGraph : public Gtk::DrawingArea
bool on_expose_event (GdkEventExpose* event);
void on_size_request(Gtk::Requisition* requisition);
void on_size_allocate(Gtk::Allocation alloc);
void on_size_allocate(Gtk::Allocation & alloc);
FFTResult *prepareResult(Gdk::Color color, std::string trackname);
private:

View File

@@ -34,7 +34,7 @@ class Selectable : public virtual sigc::trackable
virtual void set_selected (bool yn) {
if (yn != _selected) {
_selected = true;
_selected = yn;
Selected (_selected); /* EMIT_SIGNAL */
}
}