Re: Less flashin for in-process plug/socket
- From: Alex Larsson <alexl redhat com>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: Less flashin for in-process plug/socket
- Date: Sun, 21 Apr 2002 15:09:18 -0400 (EDT)
On Sun, 21 Apr 2002, Owen Taylor wrote:
> > plug->socket_window = GTK_WIDGET (socket)->window;
> >
> > - if (GTK_WIDGET_REALIZED (widget))
> > - gdk_window_reparent (widget->window, plug->socket_window, 0, 0);
> > + if (GTK_WIDGET_REALIZED (widget)) {
> > + gdk_drawable_get_size (GDK_DRAWABLE (widget->window), &w, &h);
> > + gdk_window_reparent (widget->window, plug->socket_window, -w, -h);
> > + }
>
> Looks fine except for the { placement issue.
To much nautilus hacking I fear. :)
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's a superhumanly strong zombie househusband who must take medication to
keep him sane. She's a wealthy foul-mouthed nun from the wrong side of the
tracks. They fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]