Re: gnome-core compile error
- From: George <jirka 5z com>
- To: GNOME Malinglist <gnome-list gnome org>
- Subject: Re: gnome-core compile error
- Date: Thu, 23 Jul 1998 02:52:44 -0700
On Wed, Jul 22, 1998 at 11:27:30PM -0400, Todd Graham Lewis wrote:
> 173:static int
> 174:add_to_panel (char *applet, char *path, char *arg)
> 175:{
> 176: load_applet(applet,path,arg,0,0,NULL,NULL,
> 177: PANEL_UNKNOWN_APPLET_POSITION,
> 178: current_panel,NULL);
> 179: return TRUE;
> 180:}
this functions should be long gone with the wind ...
update from cvs ... this is all now nicely different
> Finally, and I'm just curious and ignorant here, why is add_to_panel
> an int() if it's just a wrapper to a void() and it always returns TRUE?
> Why not make it a void()?
it's a signal which should return a value ... with the magic of C, it could
just as well be void and nothing would hurt ...
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]