Re: gtk_plug_* and gtk_socket_* family for non X11 builds
- From: muppet <scott asofyet org>
- To: "A. Pagaltzis" <pagaltzis gmx de>
- Cc: Gtk Perl List <gtk-perl-list gnome org>
- Subject: Re: gtk_plug_* and gtk_socket_* family for non X11 builds
- Date: Fri, 11 Feb 2005 09:00:30 -0500
On Feb 11, 2005, at 8:03 AM, A. Pagaltzis wrote:
* muppet <scott asofyet org> [2005-02-11 05:50]:
The contents of both GtkPlug.xs and GtkSocket.xs are wrapped in
#ifndef GDK_WINDOWING_WIN32, and gtk2perl.h #undefs their
respective type macros if GDK_WINDOWING_WIN32 is defined.
But it appears that we need to add GDK_WINDOWING_FB to that
logic. :-/
Wouldn't it be better to #ifdef GDK_WINDOWING_X11 instead?
That was the next thing i said. ;-)
Actually, when i originally implemented it, i didn't know that
plug&socket only worked on X11 -- as far as i knew, it was a win32
problem, only.
Interestingly, gtk+ installs and includes the gtksocket.h and gtkplug.h
headers unconditionally, but only builds the implementations for the
x11 target.
--
Examples really shouldn't include unexploded ordnance.
-- Joe Smith, referring to an example program i wrote.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]