[Glade-devel] Code cleanup



------=_Part_113_32907120.1097176271923
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Humph, this patch was too big, re-sending mail with .tgz patch

Hi all,
   In the last few days there seems to have been some cvs activity
(I had a hell of a time resolving the conflicts)...

I found some new code with the style:
===============
if (statement) {
 /* body */
}
===============

Which is my prefered style but it is inconsistant with the rest of the code.

So I'd like to ask you guys: Can we please keep the code consistant ?
I also found declarations of `char' instead of `gchar'.

So I have a patch here that takes care of the removal of flags on
GladeWidgetClass
(there were some comments in glade-widget-class.c saying that we
didn't need them,
So I removed them and the references to them) and that brings the code in
glade-widget.c back in line with the original coding style.

Cheers,
                                                 -Tristan

------=_Part_113_32907120.1097176271923
Content-Type: application/x-gzip; name="glade-patch.tgz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="glade-patch.tgz"

H4sIANKVZUEAA+w9/XPbtpL9Vfor0HRealmUI+rLX00uqq04vjq2x1aa1+l1OLREy3yWSB1JOfG1
vb/9sAuABEiQoiTXvZkXztiSSGB3sVgsFovFcm5HozsnfPXNX3g1m53mbrdLP5tms4efTbPTwU9+
fWM2zbbZbvbog2+aptnt9L4h3b+SKHEtwsgOCPnmwfaioLCcE4TPQdDzXnPe/5OpPXYan93xxIka
o6kdhjujHXy4OQ7a680e629N/7eavVZP9H+3027R8r1Ol/Z/c3PUy69/8/4/9cbOlwOi6/7q682v
6tXRNbl1p84BeTV6oGLm+TOHCVv7VRiMtHJnPFQDJwpc58H1JiSgH6Hre8Tc6ZnVsXt7SxoL0gjg
p57uRqOhfVDpkYtRRFpUH9F/B829g26LNEAGKwi7Xq/r6+0m9cy9g9b+QafD6lXfviWNTs/okTr9
v0vevq2SV9vkzg7vSGTfTB0S3dkR+exOp2Tke5HtesSm36M7h5xE958QzRFg+d4JyShw7MgZG8SF
TnHG5OaRuFFIPHvmkO1XVUJFNXJH5OQ9hT9E8NuMUgsppSBek/OPZ2eHVVKtx8Unozsq4dtV1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vKGyRoat5F7KVrAsFXO
1UWrR75FQiGHFX8apFnhDMsz57PnYithm6lu8RUQR59EEvs1c2SMp3SV3+n+IZEFRZsmu2Vp0LPR
mcwaX88pj+m/jpcBAAAAAAAAAAAAAAAAAAAAAP8BX32U2p4AoAAA
------=_Part_113_32907120.1097176271923--




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