Description: Fix inheritance of some helper methods

Author: David Suárez <david.sephirot@gmail.com>
Last-Update: 2014-03-12

--- ruby-bdb-0.6.6.orig/src/common.c
+++ ruby-bdb-0.6.6/src/common.c
@@ -1277,16 +1277,16 @@ bdb_s_new(int argc, VALUE *argv, VALUE o
 	dbst->marshal = obj;
 	dbst->options |= BDB_MARSHAL;
     }
-    if (rb_method_boundp(obj, rb_intern("bdb_store_key"), 0) == Qtrue) {
+    if (rb_method_boundp(obj, rb_intern("bdb_store_key"), 0) == 1) {
 	dbst->filter[FILTER_KEY] = INT2FIX(rb_intern("bdb_store_key"));
     }
-    if (rb_method_boundp(obj, rb_intern("bdb_fetch_key"), 0) == Qtrue) {
+    if (rb_method_boundp(obj, rb_intern("bdb_fetch_key"), 0) == 1) {
 	dbst->filter[2 + FILTER_KEY] = INT2FIX(rb_intern("bdb_fetch_key"));
     }
-    if (rb_method_boundp(obj, rb_intern("bdb_store_value"), 0) == Qtrue) {
+    if (rb_method_boundp(obj, rb_intern("bdb_store_value"), 0) == 1) {
 	dbst->filter[FILTER_VALUE] = INT2FIX(rb_intern("bdb_store_value"));
     }
-    if (rb_method_boundp(obj, rb_intern("bdb_fetch_value"), 0) == Qtrue) {
+    if (rb_method_boundp(obj, rb_intern("bdb_fetch_value"), 0) == 1) {
 	dbst->filter[2 + FILTER_VALUE] = INT2FIX(rb_intern("bdb_fetch_value"));
     }
     rb_obj_call_init(res, argc, argv);
