Re: [Vala] Purple.CoreUiOps



On Fri, Feb 17, 2012 at 3:38 PM, Joseph Montanez <jmontanez gorilla3d com>wrote:

My brain is melting trying to figure out how to get Purple.CoreUiOps
to initialize.

Here is the vapi:
       [CCode (cheader_filename = "purple.h")]
       [Compact]
       public class CoreUiOps {
               [CCode (has_construct_function = false)]
               public weak GLib.Callback debug_ui_init;
               public weak GLib.Callback get_ui_info;
               public weak GLib.Callback quit;
               public weak GLib.Callback ui_init;
               public weak GLib.Callback ui_prefs_init;
       }


Try with a struct.

-- 
www.debian.org - The Universal Operating System


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