Re: error compiling panel - no colormap member



Quoting Josh Sled (jsled@scam.XCF.Berkeley.EDU):
> | make[2]: Entering directory `/home/ricdude/Projects/gnome/gnome-core/panel'
> | gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -DGNOMELOCALEDIR=\""/usr/local/share/locale"\"
> | -I/usr/local/include -I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/inclu
> |de
> | -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2
> | -D_DRAWER_ -c panel.c
> | panel.c: In function `panel_session_save':
> | panel.c:304: structure has no member named `colormap'
> | panel.c: In function `panel_clean_applet':
> | panel.c:437: structure has no member named `colormap'
> | make[2]: *** [panel.o] Error 1
> | -------------------------------------------------------
> | /** the section of source code near line 304 **/
> | if(info->widget && GTK_IS_SOCKET(info->applet_widget))
> | 			((GdkWindowPrivate *)
> | 
> | 	GTK_SOCKET(info->applet_widget)->
> | 		plug_window)->colormap = NULL;
> 
> I'm having this same problem.
> 
> GTK_SOCKET casts (info->applet_widget) as type GtkSocket, which contains
> member plug_window.  plug_window is type GdkWindow*.
> 
> struct GdkWindow has one member: gpointer user_data.
> struct GdkWindowAttr, however, has the requisite member GdkColormap
> *colormap...
> 
> Someone who knows more about GTK/GDK than I do [at this point, at least]
> will need to fix this.
> 
> And, yes, it needs to be fixed.

it was a bad hack for it to work with fridays version of gtk ... it is
now removed as gtk alerady has a fix

George

-- 
------------------------------------------------------------------------------
George Lebl <jirka@5z.com> http://www.5z.com/jirka/
------------------------------------------------------------------------------
  The following implements RSA in perl and is illegal to export from the US:

          #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
          $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
          lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]