Re: Gtk3->GET_VERSION_INFO

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Gtk3->GET_VERSION_INFO

Jeff
>> What is the Gtk3 equivalent of
>>  Gtk2->GET_VERSION_INFO
>>  and
>>  Gtk2->get_version_info
>> ?

> It looks like these convenience functions never made it from Gtk2.pm
> to Gtk3.pm. You can instead use Gtk3::get_major_version (),
> Gtk3::get_micro_version () and Gtk3::get_minor_version () as well as
> Gtk3::MAJOR_VERSION and friends. I'd also gladly accept a patch adding
> ports of the old helpers to Gtk3.pm.

Please find attached a patch to do add the above functionality, along
with some tests.

Regards

Jeff

_______________________________________________
gtk-perl-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-perl-list

0001-helper-functions-Gtk3-get_version_info-Gtk3-GET_VERS.patch (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Gtk3->GET_VERSION_INFO

Emmanuele Bassi
Hi;

thanks for your contribution.

Could you please open an issue on Bugzilla, here:

  https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-perl&component=Gtk3

and attach your patch there? It would help making it easier for the maintainers to review and apply your patch.

Ciao,
 Emmanuele.


On 2 May 2018 at 16:54, Jeffrey Ratcliffe <[hidden email]> wrote:
>> What is the Gtk3 equivalent of
>>  Gtk2->GET_VERSION_INFO
>>  and
>>  Gtk2->get_version_info
>> ?

> It looks like these convenience functions never made it from Gtk2.pm
> to Gtk3.pm. You can instead use Gtk3::get_major_version (),
> Gtk3::get_micro_version () and Gtk3::get_minor_version () as well as
> Gtk3::MAJOR_VERSION and friends. I'd also gladly accept a patch adding
> ports of the old helpers to Gtk3.pm.

Please find attached a patch to do add the above functionality, along
with some tests.

Regards

Jeff

_______________________________________________
gtk-perl-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-perl-list




--

_______________________________________________
gtk-perl-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-perl-list
Reply | Threaded
Open this post in threaded view
|

Re: Gtk3->GET_VERSION_INFO

Jeff
On Wed, 2 May 2018 18:10:57 +0100
Emmanuele Bassi <[hidden email]> wrote:

> Could you please open an issue on Bugzilla, here:
>
>   https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-perl&component=Gtk3
>
> and attach your patch there? It would help making it easier for the
> maintainers to review and apply your patch.

Done:

https://bugzilla.gnome.org/show_bug.cgi?id=795778

Regards

Jeff
_______________________________________________
gtk-perl-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-perl-list
Reply | Threaded
Open this post in threaded view
|

Re: Gtk3->GET_VERSION_INFO

Torsten Schoenfeld
On 03.05.2018 19:49, Jeffrey Ratcliffe wrote:
> https://bugzilla.gnome.org/show_bug.cgi?id=795778

This is now in our Git repository.  Thank you!
_______________________________________________
gtk-perl-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-perl-list