[Xfce4-commits] r28984 - terminal/trunk/terminal

Enrico Tröger enrico.troeger at uvena.de
Sun Dec 7 11:51:33 CET 2008


On Sun, 7 Dec 2008 11:32:01 +0100, Enrico Tröger
<enrico.troeger at uvena.de> wrote:

>On Sat,  6 Dec 2008 11:50:22 +0000 (UTC), "Stephan Arts"
><stephan at xfce.org> wrote:
>
>Hey,
>
>>@@ -700,7 +705,7 @@
>> {
>>   gboolean bval;
>>   g_object_get (G_OBJECT (screen->preferences), "misc-cursor-blinks",
>> &bval, NULL);
>>-  vte_terminal_set_cursor_blinks (VTE_TERMINAL (screen->terminal),
>>bval);
>>+  vte_terminal_set_cursor_blink_mode (VTE_TERMINAL
>>(screen->terminal), bval==TRUE?
>>VTE_CURSOR_BLINK_ON:VTE_CURSOR_BLINK_OFF);
>> }
>
>
>this sucks.
>vte_terminal_set_cursor_blink_mode() is only available since 0.17.x
>which is a development release (see [1]).
>But most users probably won't use this and are still on 0.16.x or older
>releases.
>IMO using deprecated functions is better than to use functions which
>don't exist on most users' systems :).

See the attached patch as a possible solution.


Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: terminal_blink_mode.patch
Type: text/x-diff
Size: 1373 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20081207/a1f38696/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20081207/a1f38696/attachment.pgp>


More information about the Xfce4-dev mailing list