stranges things in gtkbox.h
- From: David Odin <David dindinx org>
- To: gtk-devel-list gnome org
- Subject: stranges things in gtkbox.h
- Date: Mon, 7 Apr 2003 21:24:48 +0200
Hi,
I was looking into the sources of gtkbox because I wanted to make a
new type of container widget for a project of mine.
And I've noticed a few oddities:
- it includes <gdk/gdk.h> for no good reasons,
- it doesn't use G_BEGIN_DECLS but #ifdef __cplusplus/ extern "C" {/ #endif
- it doesn't use G_END_DECLS.
- spacing and homogeneous are declared public even if they have
accessors which should really be used.
Some other header files have the same problems.
Should I submit a patch or commit directly?
Regards,
DindinX
--
david dindinx org
int a[33235],*b=a,c=1e4,d=33234,e,f,g=0,h,i;main(){for(e=d;e--;*b++=2);
*b=4;for(e=2501;e--;printf("%04d",h))for(b=a+d,f=d;f>-1;g*=f--){i=*b*c+
g;h=f?2*f+1:c;g=i/h;*b--=i%h;h=g;}}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]