ext/glib2/rbglib-bytes.c in glib2-3.5.1 vs ext/glib2/rbglib-bytes.c in glib2-4.0.0

- old
+ new

@@ -120,10 +120,10 @@ } void Init_glib_bytes(void) { - RG_TARGET_NAMESPACE = G_DEF_CLASS(G_TYPE_BYTES, "Bytes", mGLib); + RG_TARGET_NAMESPACE = G_DEF_CLASS(G_TYPE_BYTES, "Bytes", rbg_mGLib()); RG_DEF_SMETHOD(try_convert, 1); RG_DEF_METHOD(initialize, -1); RG_DEF_METHOD(to_s, 0);