summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 18e9cd6)
raw | patch | inline | side by side (parent: 18e9cd6)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 24 Oct 2006 02:15:23 +0000 (02:15 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 24 Oct 2006 02:15:23 +0000 (02:15 +0000) |
src/dialogs/object-properties.cpp | patch | blob | history |
index 617e8a0d10d7106d45f28bb6ee7f57663ecb4926..77d71b5fe5839f100bd4d61a0962138fbf0b4bc9 100644 (file)
case QUERY_STYLE_SINGLE:
case QUERY_STYLE_MULTIPLE_AVERAGED:
case QUERY_STYLE_MULTIPLE_SAME:
- NR::Rect bbox = selection->bounds();
+ NR::Rect bbox = sp_desktop_selection(SP_ACTIVE_DESKTOP)->bounds();
double perimeter = bbox.extent(NR::X) + bbox.extent(NR::Y);
gtk_widget_set_sensitive (b, TRUE);
//update blur widget value