Bad portability by foreign_new_for_display
- From: Hans Breuer <hans breuer org>
- To: "gtk-devel-list gnome org" <gtk-devel-list gnome org>
- Subject: Bad portability by foreign_new_for_display
- Date: Sat, 22 Jan 2011 23:40:51 +0100
Current master has three occurences of
#ifdef GDK_WINDOWING_X11
if (GDK_IS_X11_DISPLAY (display))
followed by some
window = gdk_x11_window_lookup_for_display (display, ...);
Only one was ported to win32 and currently none for OSX, leading
to e.g. a crash during clipboard copy.
Wouldn't it be better to add foreign_new_for_display() to
the display vtable, rather than adding all these ifdefs?
Thanks,
Hans
-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it. -- Dilbert
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]