From: kimura w. <ki...@us...> - 2008-10-02 14:01:51
|
木村(わ)といいます。 ruby-gnome2 0.18.0のgtkモジュールで、Init_gtk_gdk_gc()が 実行されないためにGdk::GCが未定義となりました。 gtk/src/makeinits.rbがうまくいっていないようです。 以下の変更でGdk::GCを使えるようになりました。 --- gtk/src/makeinits.rb.orig 2008-10-02 19:57:38.000000000 +0900 +++ gtk/src/makeinits.rb 2008-10-02 19:58:35.000000000 +0900 @@ -14,7 +14,7 @@ value_index = sorted_array.index(value) next if value_index.nil? sorted_array.delete(value) - sorted_array[key_index - 1, 1] = value + sorted_array.insert(key_index - 1, value) key_index = sorted_array.index(key) end end -- kimura wataru |