2008/8/13 Christian Koerner <misk / gmx.net>:
> I want to create a subclass of GConf::Client, but using
> GConf::Client.new is deprecated, GConf::Client.default should be used
> instead.

Christian, Class#new calls Object#initialize, not the other way round.
If you want the subclass' #new method to call the superclass' #default
method, you should do it like this:

  class Preferences < GConf::Client
    def self.new
      default
    end
  end

Regards,
Pit