GTK3 port: xfce4-mailwatch-plugin
Xoán Sampaíño
xoansampainho at gmail.com
Thu Jan 17 11:39:27 CET 2019
Hi,
I'm Xoan, from Spain (currently living in Morocco), and I've been using
Xfce from a long time ago. I've done some translation contributions in the
past, and now I'm trying to get involved by doing some «small» coding tasks.
I'm porting xfce4-mailwatch-plugin to GTK3:
* https://github.com/xoan/xfce4-mailwatch-plugin/tree/gtk3
You can try it by cloning the fork, changing to gtk3 branch and
compile/install it as usual.
The current list of commits/changes:
*
https://github.com/xfce-mirror/xfce4-mailwatch-plugin/compare/master...xoan:gtk3?w=1
GTK3 port seems to be complete (no warnings), so I'm trying to fix some
Glib deprecation warnings.
Most of them seem to be fixed, but there are still some (in
libmailwatch-core/mailwatch-net-conn.c) that I don't know how to handle
them.
Any feedback, comment and/or help is very welcome.
Complete build.log is attached
% ./autogen.sh --prefix=/usr --enable-debug
% make clean && LANG=C make 2> build.log
% grep "warning:" build.log | cut -d: -f5 | sort | uniq -c | sort -n -r
13 excess elements in struct initializer
1 'g_mutex_new' is deprecated [-Wdeprecated-declarations]
1 'g_mutex_free' is deprecated [-Wdeprecated-declarations]
1 'gcry_thread_cbs' is deprecated [-Wdeprecated-declarations]
1 cast to pointer from integer of different size
[-Wint-to-pointer-cast]
1 cast between incompatible function types from 'ssize_t (*)(int,
struct msghdr *, int)' {aka 'long int (*)(int, struct msghdr *, int)'} to
'int (*)(int, struct msghdr *, int)' [-Wcast-function-type]
1 cast between incompatible function types from 'ssize_t (*)(int,
const struct msghdr *, int)' {aka 'long int (*)(int, const struct msghdr
*, int)'} to 'int (*)(int, const struct msghdr *, int)'
[-Wcast-function-type]
1 cast between incompatible function types from '__pid_t
(*)(__pid_t, int *, int)' {aka 'int (*)(int, int *, int)'} to 'ssize_t
(*)(pid_t, int *, int)' {aka 'long int (*)(int, int *, int)'}
[-Wcast-function-type]
1 cast between incompatible function types from 'int (*)(int,
fd_set * restrict, fd_set * restrict, fd_set * restrict, struct timeval
* restrict)' {aka 'int (*)(int, struct <anonymous> * restrict, struct
<anonymous> * restrict, struct <anonymous> * restrict, struct timeval *
restrict)'} to 'ssize_t (*)(int, fd_set *, fd_set *, fd_set *, struct
timeval *)' {aka 'long int (*)(int, struct <anonymous> *, struct
<anonymous> *, struct <anonymous> *, struct timeval *)'}
[-Wcast-function-type]
1 cast between incompatible function types from 'int (*)(int,
__CONST_SOCKADDR_ARG, socklen_t)' {aka 'int (*)(int, union <anonymous>,
unsigned int)'} to 'int (*)(int, struct sockaddr *, socklen_t)' {aka 'int
(*)(int, struct sockaddr *, unsigned int)'} [-Wcast-function-type]
1 '%c' yields only last 2 digits of year in some locales
[-Wformat-y2k]
--
Xoán Sampaíño | https://about.me/xoan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.xfce.org/pipermail/xfce4-dev/attachments/20190117/0faa39f9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 6327 bytes
Desc: not available
URL: <https://mail.xfce.org/pipermail/xfce4-dev/attachments/20190117/0faa39f9/attachment.obj>
More information about the Xfce4-dev
mailing list