gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] gnokii gtk2 port


From: Bastien Nocera
Subject: [PATCH] gnokii gtk2 port
Date: Sun, 31 Jul 2005 23:34:32 +0100

Heya Pawel,

Here's a patch to "port" (ie. make compile) xgnokii to GTK+ 2.x. GTK+
1.x has been long dead, and it would be time to move in the present :)

I've not tested it fully, and I had to remove the gdk_key_repeat_* calls
as it's not possible for applications to modify those (global) settings
anymore. I'm sure Zoltan or yourself can work-around this by checking
the timestamps on the keypresses to avoid too many keypresses coming in.

A person with some free time could look into porting the GtkTree and
GtkList widgets over to GtkTreeViews, so that the GTK_ENABLE_BROKEN
defines can be removed.

I would also like to know whether it would be acceptable for gnokii to
use glib, mainly for its string functions. I see that there are a lot of
parts of gnokii that could use those functions, both in terms of
security (sprintf's eek), portability (glib is ported to all the modern
OS's around) and maintainability (less code, less mistakes, less to
maintain). I've already started using a few of those in the motorola
driver I'm writing.

Cheers

---
Bastien Nocera <address@hidden> 

Attachment: xgnokii-gtk2-port.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]