Community
Participate
Working Groups
This patch uses Cairo instead of deprecated gdk_gc_set_clip_region() in Theme and makes function dynamic: http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk_gc_clip_region
I think there is a mistake in the Cairo portion of the code in this patch. The clip region setting should be done for curGC[0] and not for data.cairo which is a different Cairo graphics context. Using curGC[0] directly as a Cairo context (int /*long*/ cairo = curGC) might work but I can't be completely sure without testing it.
I see where you are coming from, and I think it makes sense, I am just not sure if cairo methods will accept curGC as "cairo" context, but it is very possible that it could work out. The big question here is how to test it, I tried several ways to get to transferClipping, but none of them seems to give any results. On the other hand, we should come up with decision regarding this issue, as without resolving it we won't compile against GTK+ 3. Regards, Anatoly
I think we can close this now as Theme is pretty much dead and it would need way bigger intervention than that to become usable.
Closing. Please reopen when/if one decides to work on Theme.