Hello all!!

I want to access a xpm file from vala, i created this vapi file:

namespace MyXpms
{
  [CCode (cname="my_xpm", cheader_filename="my.xpm")]
  public string[] my_xpm;
}

vala generates this
#include <my.xpm>
but i want this
#include "my.xpm"

Is there a way to specify a local header file?

My objective is to create a Gdk.Pixbuf from a xpm data (without adding the
string to the vala file)
var pixbuf = new Gdk.Pixbuf.from_xpm_data (MyXpms.my_xpm);

Any other suggestion is welcome.
Thanks!!

Matias
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to