diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2012-04-21 13:13:40 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2012-04-21 13:13:40 +0000 |
| commit | 8485b6566d7db0e1e4cef31367f60d5965ecfc0d (patch) | |
| tree | 6f86f3a536ea78444cbeef02cbd37b4926786d87 /src | |
| parent | dropping some ghost code / probably fixing a memleak as well (diff) | |
| download | inkscape-8485b6566d7db0e1e4cef31367f60d5965ecfc0d.tar.gz inkscape-8485b6566d7db0e1e4cef31367f60d5965ecfc0d.zip | |
Fix typo in previewholder
Fixed bugs:
- https://launchpad.net/bugs/986507
(bzr r11274)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/previewholder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/previewholder.cpp b/src/ui/previewholder.cpp index ec5d2dc77..cce7da103 100644 --- a/src/ui/previewholder.cpp +++ b/src/ui/previewholder.cpp @@ -264,9 +264,9 @@ void PreviewHolder::calcGridSize( const Gtk::Widget* thing, int itemCount, int& Gtk::Requisition req2; #if WITH_GTKMM_3_0 - const_cast<Gtk::Widget*>(thing)->get_preferred_size(&req, NULL); + const_cast<Gtk::Widget*>(thing)->get_preferred_size(&req2, NULL); #else - req = const_cast<Gtk::Widget*>(thing)->size_request(); + req2 = const_cast<Gtk::Widget*>(thing)->size_request(); #endif int h2 = ((req2.height > 0) && (req.height > req2.height)) ? (req.height / req2.height) : 1; |
