On 20 September 2016 at 11:21, Thierry Vignaud
<thierry.vign...@gmail.com> wrote:
> we got the following error:
> GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL'
> failed at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm
> line 67.
>
> If we pass "" as id, we got:
> (process:16552): Gtk-CRITICAL **: gtk_application_new: assertion
> 'application_id == NULL || g_application_id_is_valid (application_id)'
> failed
>
>
> However the doc does say a NULL value is OK:
> https://developer.gnome.org/gtk3/stable/GtkApplication.html#gtk-application-new
>
> And the annotation looks OK to me:
>  grep -A4 'parameter name="application_id"'
> /usr/share/gir-1.0/Gio-2.0.gir |grep -B4 "the identifier for
> @applicatio"
>           <parameter name="application_id"
>                      transfer-ownership="none"
>                      nullable="1"
>                      allow-none="1">
>             <doc xml:space="preserve">the identifier for @application</doc>


For the record, I'm using:
Using:
$ rpm -qf /usr/share/gir-1.0/{Gtk-3.0.gir,Gio-2.0.gir,GLib-2.0.gir}
/lib64/libglib-2.0.so --qf '%{sourcerpm}\n'|sort -u
glib2.0-2.49.7-1.mga6.src.rpm
gobject-introspection-1.49.1-1.mga6.src.rpm
gtk+3.0-3.22.0-1.mga6.src.rpm

$ rpm -q perl-{Glib{,-Object-Introspection},Gtk3}
perl-Glib-1.322.0-1.mga6
perl-Glib-Object-Introspection-0.40.0-2.mga6
perl-Gtk3-0.28.0-1.mga6
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to