summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5d9b6c6)
raw | patch | inline | side by side (parent: 5d9b6c6)
author | joncruz <joncruz@users.sourceforge.net> | |
Sun, 5 Mar 2006 06:09:33 +0000 (06:09 +0000) | ||
committer | joncruz <joncruz@users.sourceforge.net> | |
Sun, 5 Mar 2006 06:09:33 +0000 (06:09 +0000) |
src/ui/previewholder.cpp | patch | blob | history |
index f809ba44c0526423728eb77b9a04e5dd8c19df82..b89e68adceabc145164e38132e21d4123266cea7 100644 (file)
--- a/src/ui/previewholder.cpp
+++ b/src/ui/previewholder.cpp
}
Gtk::Requisition req2;
- thing->size_request(req2);
+ const_cast<Gtk::Widget*>(thing)->size_request(req2);
int h2 = req.height / req2.height;
int w2 = req.width / req2.width;