diff --git a/gtk2/test/test_gdk_pixbuf.rb b/gtk2/test/test_gdk_pixbuf.rb index 3c80a3b39e..9a913607ee 100644 --- a/gtk2/test/test_gdk_pixbuf.rb +++ b/gtk2/test/test_gdk_pixbuf.rb @@ -23,12 +23,12 @@ def test_from_drawable width, height = gdk_window.size assert_nothing_raised do - Gdk::Pixbuf.from_drawable(colormap, - gdk_window, - src_x, - src_y, - width, - height) + GdkPixbuf::Pixbuf.from_drawable(colormap, + gdk_window, + src_x, + src_y, + width, + height) end end end