[Gtk-sharp-list] Help with menus

Patrik Olterman patrik@olterman.se
17 May 2003 21:31:31 +0200


--=-dd1xlVeeBFyv3SlCMN/f
Content-Type: multipart/mixed; boundary="=-Zoz5UGam1+CJQwKePSRf"


--=-Zoz5UGam1+CJQwKePSRf
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

trying to get glade to work with my apps can anyone tell me what this
means:
(<unknown>:4066): libglade-CRITICAL **: file glade-xml.c: line 1172
(glade_xml_build_interface): assertion `wid !=3D NULL' failed
=20
** ERROR **: Invalid IL code at IL0019 in 00
.SignalConnector:Autoconnect (): IL_0019: ldsfld    0x0a00000a
=20
=20
aborting...
Aborted




On Sat, 2003-05-17 at 17:30, Richard Torkar wrote:
> On Sat, 2003-05-17 at 17:13, Patrik Olterman wrote:
> > When I try to compile that example I get the following error=20
> >=20
> > /home/olterman/code/C-Sharp/Menu.cs(10) error CS0246: The namespace
> > `System.Drawing' can not be found (missing assembly reference?)
> > Compilation failed: 1 error(s), 0 warnings
> >=20
> >=20
>=20
> [xyz@~/install/gtk-sharp/sample]$ mcs /r:gtk-sharp /r:glib-sharp \
> /r:System.Drawing Menu.cs
> =EF=BB=BFCompilation succeeded
>=20
>=20
> /Richard

--=-Zoz5UGam1+CJQwKePSRf
Content-Disposition: attachment; filename=glade.cs
Content-Type: x-directory/normal; name=glade.cs
Content-Transfer-Encoding: base64

bmFtZXNwYWNlIEdsYWRlU2FtcGxlcyB7Cgl1c2luZyBTeXN0ZW07CiAgCgl1c2luZyBHdGs7Cgl1
c2luZyBHbm9tZTsKCXVzaW5nIEdsYWRlOwoJdXNpbmcgR3RrU2hhcnA7CgogICAgICAgIHB1Ymxp
YyBjbGFzcyBHbGFkZVRlc3QKCXsKCQlwdWJsaWMgc3RhdGljIHZvaWQgTWFpbiAoc3RyaW5nW10g
YXJncykKCQl7CgkJCW5ldyBHbGFkZVRlc3QoYXJncyk7CgkJfQoKCQkvKiBJZiB5b3Ugd2FudCB0
byBhY2Nl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lsZD4KCTx3aWRn
ZXQgY2xhc3M9Ikd0a0J1dHRvbiIgaWQ9ImJ1dHRvbjEiPgoJICA8cHJvcGVydHkgbmFtZT0idmlz
aWJsZSI+VHJ1ZTwvcHJvcGVydHk+CgkgIDxwcm9wZXJ0eSBuYW1lPSJjYW5fZm9jdXMiPlRydWU8
L3Byb3BlcnR5PgoJICA8cHJvcGVydHkgbmFtZT0ibGFiZWwiIHRyYW5zbGF0YWJsZT0ieWVzIj5j
bGljazwvcHJvcGVydHk+CgkgIDxwcm9wZXJ0eSBuYW1lPSJ1c2VfdW5kZXJsaW5lIj5UcnVlPC9w
cm9wZXJ0eT4KCSAgPHByb3BlcnR5IG5hbWU9InJlbGllZiI+R1RLX1JFTElFRl9OT1JNQUw8L3By
b3BlcnR5PgoJPC93aWRnZXQ+Cgk8cGFja2luZz4KCSAgPHByb3BlcnR5IG5hbWU9InBhZGRpbmci
PjA8L3Byb3BlcnR5PgoJICA8cHJvcGVydHkgbmFtZT0iZXhwYW5kIj5UcnVlPC9wcm9wZXJ0eT4K
CSAgPHByb3BlcnR5IG5hbWU9ImZpbGwiPlRydWU8L3Byb3BlcnR5PgoJPC9wYWNraW5nPgogICAg
ICA8L2NoaWxkPgogICAgPC93aWRnZXQ+CiAgPC9jaGlsZD4KPC93aWRnZXQ+Cgo8L2dsYWRlLWlu
dGVyZmFjZT4K

--=-Zoz5UGam1+CJQwKePSRf--

--=-dd1xlVeeBFyv3SlCMN/f
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA+xo4THeA7AF1UGKMRAqMVAKCh80EOvWEmxXhLCwxVHPuyo4Zk0QCeOyTQ
35uGxYIgYYgFgWb+knXzD7w=
=23Xz
-----END PGP SIGNATURE-----

--=-dd1xlVeeBFyv3SlCMN/f--