Re: call static function of object

Juan Rafael GarcĂ­a Blanco <[email protected]> Thu, 23 Apr 2015 18:10:03 +0200
Newsgroups gmane.comp.gnome.love
Message-ID <CABbVU2mrinpmRM5zA3OQRY0ZGhXu_HgJFxY7O38gB9ppt_tzAQ@mail.gmail.com>
Hi,

I'm not familiar with gnome-photos, but I think it is not written in
C. So you must mean you want to call a method declared static inside a
gtk**.c file. Is this right? If this is the case, then it is not
possible. The static keyword when used with methods in C means that
method is private to the compilation unit, so you cannot call it from
other compilation units (.c files); and of course, it is not exported
with gobject-introspection becaue it is not part of the API. Hope this
makes sense.

Best regards,
Juan.

On 4/23/15, julio <[email protected]> wrote:
> Hi,
>
> I am working on a bug (gnome-photos) and I was wondering, how do I call
> a static method inside a C/GTK object?
>
> Regards,
>
> Julio Ordonez Viales
> _______________________________________________
> gnome-love mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/gnome-love
>