[Users] [Bug 2371] Port to GTK+3.0

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Wed Oct 5 11:44:14 CEST 2011


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2371





--- Comment #8 from Hanno Meyer-Thurow  2011-10-05 11:44:13 ---
Created an attachment (id=1020)
 --> (http://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=1020)
step 1: use accessor functions

This patch applies to cvs HEAD.

Build with the additional CFLAGS:
"-DGTK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGSEAL_ENABLE"

There are three things I am curious about:
1. DND: how to properly find the correct GdkAtom with the API:
http://developer.gnome.org/gtk/2.24/gtk-Drag-and-Drop.html#gtk-drag-dest-find-target
2. How to replace the direct access of GtkButton in_button. I checked the local
focus instead.
3. GTK_IS_COMBO_BOX_ENTRY is no more. I did instead:
'if(GTK_IS_COMBO_BOX(widget) &&
gtk_combo_box_get_has_entry(GTK_COMBO_BOX(widget)))'

Unfortunately, I get a segfault in folderview_init (folderview=0xb6dd20) at
folderview.c:677
(gtk_widget_set_style(ctree, normal_style); ctree's GdkWindow is NULL. class:
gtksctree)
I wonder, if it is because of gcc 4.6 or missing deprecated symbols or ...

Another note: I wonder what gtk version these changes require. At least that
combo box change requires gtk 2.24 that you may '#ifdef'.

Any help or pointers to improve or fix the issue(s) are welcomed.

-- 
Configure bugmail: http://www.thewildbeast.co.uk/claws-mail/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Users mailing list