Hi there,
I'm not sure whether this bug applies to the current verison of Gtk2, and
it has been quite awhile since I initially filed the bug (July 31st 2011)
-- I actually don't remember having filed this :-)
Please give me a day or two to take a look at this; it is possible that the
issue has been resolved now, or is due to an old version of xspp, or
something like that.
Thank you for your interest :-)
Regards,
Jonathan
On Sun, Jan 8, 2012 at 8:54 AM, Torsten Schoenfeld via RT <
bug-Gtk2@rt.cpan.org> wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=69927 >
>
> On Sun Jul 31 22:18:09 2011, JAWNSY wrote:
> > [ CC xs/GtkRecentManager.c ]
> > xs/GtkRecentManager.xs: In function
> > 'XS_Gtk2__RecentInfo_get_application_info':
> > xs/GtkRecentManager.xs:367:11: warning: passing argument 3 of
> > 'gtk_recent_info_get_application_info' from incompatible pointer type
> > [enabled by default]
> > /usr/include/gtk-2.0/gtk/gtkrecentmanager.h:187:23: note: expected
> > 'const gchar **' but argument is of type 'gchar **'
>
> Weird, I cannot reproduce this. Does the XS code not look like this for
> you?
>
> void
> gtk_recent_info_get_application_info (info, app_name)
> GtkRecentInfo *info
> const gchar *app_name
> PREINIT:
> const gchar *app_exec;
> guint count;
> time_t timestamp;
> gboolean res;
> PPCODE:
> res = gtk_recent_info_get_application_info (info, app_name,
> &app_exec,
> &count,
> ×tamp);
> [...]
>
> In particular, it should have "const gchar *app_exec", matching the
> prototype of gtk_recent_info_get_application_info.
>
> Why is "&app_exec" a "gchar**" in your case?
>