Voici un petit patch qui répare ce problème :
diff -urpN -X ex twitux-0.69/src/twitux-parser.c twitux-0.69-dev/src/twitux-parser.c --- twitux-0.69/src/twitux-parser.c 2009-01-25 03:25:56.000000000 +0100 +++ twitux-0.69-dev/src/twitux-parser.c 2009-10-26 16:37:04.000000000 +0100 @@ -29,6 +29,7 @@ #define _XOPEN_SOURCE #include #include /bin /boot /cdrom /dev /etc /home /initrd /initrd.img /lib /lost+found /media /mnt /opt /proc /root /sbin /selinux /srv /sys /tmp /usr /var /vmlinuz for g_memmove - memmove */ +#include #include #include @@ -65,7 +66,8 @@ static gchar *parser_convert_time static gboolean display_notification (gpointer tweet); /bin /boot /cdrom /dev /etc /home /initrd /initrd.img /lib /lost+found /media /mnt /opt /proc /root /sbin /selinux /srv /sys /tmp /usr /var /vmlinuz id of the newest tweet showed */ -static gint last_id = 0; +// static gint last_id = 0; +static long long last_id = 0; static xmlDoc* parser_twitux_parse (const char *data, @@ -195,12 +197,14 @@ twitux_parser_timeline (const gchar *dat /bin /boot /cdrom /dev /etc /home /initrd /initrd.img /lib /lost+found /media /mnt /opt /proc /root /sbin /selinux /srv /sys /tmp /usr /var /vmlinuz Count new tweets */ gboolean show_notification = (last_id > 0); - gint lastTweet = 0; - /bin /boot /cdrom /dev /etc /home /initrd /initrd.img /lib /lost+found /media /mnt /opt /proc /root /sbin /selinux /srv /sys /tmp /usr /var /vmlinuz +// gint lastTweet = 0; + long long lastTweet = 0; + + /bin /boot /cdrom /dev /etc /home /initrd /initrd.img /lib /lost+found /media /mnt /opt /proc /root /sbin /selinux /srv /sys /tmp /usr /var /vmlinuz [...]
L’intégralité ici : patch-twitux-notification.diff |