[Kde-bindings] ArgumentError when calling KDE::Global.config

Stefano Crocco stefano.crocco at alice.it
Tue Jul 1 15:43:29 UTC 2008


Since a svn update last saturday or sunday, the following code using korundum4 
fails:

require 'korundum4'
data = KDE::AboutData.new "test", "", KDE::ki18n("test"), "0.0.1"
KDE::CmdLineArgs.init [], data
a = KDE::Application.new
c = KDE::Global.config

The error message is the following:

./prova.rb:5:in `method_missing': Cannot handle 'KSharedPtr<KSharedConfig>' as 
return-type of KGlobal::config (ArgumentError)
        from ./prova.rb:5

This method worked fine in previous revisions of korundum4.

Stefano



More information about the Kde-bindings mailing list