Permalink
Browse files

Minor fixups to make ruby-vips play nice with rubinius.

  • Loading branch information...
ender672 committed Aug 26, 2010
1 parent 9485ad8 commit 226898dfc973fce9f2910da18ee82d3f19410ab5
Showing with 2 additions and 2 deletions.
  1. +1 −1 ext/image_histograms_lut.c
  2. +1 −1 ext/ruby_vips.c
@@ -630,7 +630,7 @@ VALUE
img_tone_analyze(VALUE obj,
VALUE ps, VALUE pm, VALUE ph, VALUE s, VALUE m, VALUE h)
{
-#if IM_MAJOR_VERSION > 7 || IM_MINOR_VERSION >= 22
+#if IM_MAJOR_VERSION > 7 || IM_MINOR_VERSION >= 23
GetImg(obj, data, im);
OutImg(obj, new, data_new, im_new);
View
@@ -90,7 +90,7 @@ init_vips_library()
im_init_world(argv[0]);
- context = g_option_context_new(_("- ruby-vips"));
+ context = g_option_context_new("- ruby-vips");
g_option_context_set_ignore_unknown_options(context, TRUE);
g_option_context_add_group(context, im_get_option_group());

0 comments on commit 226898d

Please sign in to comment.