[Kde-bindings] possible bug using KDE::MimeType.mime_type
Stefano Crocco
stefano.crocco at alice.it
Fri Aug 8 16:27:30 UTC 2008
It seems that KDE::MimeType.mime_type doesn't work correctly in korundum4
(latest svn revision). The following code, which works correctly in C++, gives
an error:
require 'korundum4'
data = KDE::AboutData.new "test", "", KDE::ki18n("Test"), "0.0.1"
KDE::CmdLineArgs.init [], data
a = KDE::Application.new
mime = KDE::MimeType.mime_type "text/plain"
The error is:
./prova.rb:8:in `method_missing': Cannot handle 'KSharedPtr<KMimeType>' as
return-type of KMimeType::mimeType (ArgumentError)
from ./prova.rb:8
Stefano
More information about the Kde-bindings
mailing list