Re: [Vala] Gst.Message.type_get_name does not exist



2009/3/4 Frédéric Gaudy <fred_gaudy yahoo fr>:
Hi,

since vala 0.5.7, static function Gst.Message.type_get_name() does not exist
in vapi file, but still in vala doc
(http://valadoc.org/?pkg=gstreamer-0.10&element=Gst.Message)

Is it a forgetting or an api change.

The API is slightly different, you can use that function like this:
  ...
  Gst.MessageType my_type = Gst.MessageType.ERROR;
  message ("The name of the type is %s", my_type.to_string ());
  ...

Gr,
Thijs

Thanks.




_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]