# Cleaning up requires in glib2.rb

**URL:** <https://www.ruby-forum.com/t/cleaning-up-requires-in-glib2-rb/213235>\
**Category:** Ruby-Gnome 2\
**Created:** [October 27, 2011, 10:41am UTC](https://www.ruby-forum.com/t/cleaning-up-requires-in-glib2-rb/213235 "2011-10-27T10:41:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [October 27, 2011, 10:41am UTC](https://www.ruby-forum.com/t/cleaning-up-requires-in-glib2-rb/213235/1 "2011-10-27T10:41:55Z")

</div>

Hi!

Currently, glib2.rb requires pathname, English, and thread. Pathname  
is only used sporadically and can easily be replaced by File methods.  
English is used for $POSTMATCH. I don’t think this is worth including  
English for. It wolud be better to not even use $POSTMATCH or $’, but  
that’s another topic. I see no use of thread glib2.rb. Is it used in  
glib2.so?

Thanks!
