Re: [gnome-love] call static function of object
- From: Juan Rafael García Blanco <juanrgar gmail com>
- To: julio <julio7k gmail com>
- Cc: gnome-love gnome org
- Subject: Re: [gnome-love] call static function of object
- Date: Thu, 23 Apr 2015 18:10:03 +0200
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 <julio7k gmail com> 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
gnome-love gnome org
https://mail.gnome.org/mailman/listinfo/gnome-love
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]