Changeset 657 for plgtkimageview
- Timestamp:
- 04/03/09 20:38:46 (4 years ago)
- Files:
-
- plgtkimageview/ImageToolSelector.xs (modified) (2 diffs)
- plgtkimageview/t/imagetoolselector.t (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plgtkimageview/ImageToolSelector.xs
r655 r657 92 92 =over 93 93 94 =item If the views pixbuf is NULL.94 =item If the views pixbuf is undef. 95 95 96 96 =item If rect is wider or taller than the size of the pixbuf … … 120 120 gtk_image_tool_selector_set_selection (selector, rect) 121 121 GtkImageToolSelector * selector 122 GdkRectangle_ornull * rect 123 122 GdkRectangle * rect plgtkimageview/t/imagetoolselector.t
r462 r657 6 6 # change 'tests => 1' to 'tests => last_test_to_print'; 7 7 8 use Test::More tests => 6;8 use Test::More tests => 7; 9 9 10 10 BEGIN { … … 30 30 ok(! defined $rectangle, 'get_selection() initially undefined'); 31 31 32 ok(! eval {$selector->set_selection(undef)}, '$selector->set_selection(undef) throws error' ); 33 32 34 $rectangle = Gtk2::Gdk::Rectangle->new(0,0,10,10); 33 35 $selector->set_selection($rectangle);
