Re: ANNOUNCE: gob2 2.0.12 the "Long time no GOB" release

Jean-Yves Lefort <[email protected]> Sat, 23 Jul 2005 01:23:00 +0200
Newsgroups gmane.comp.gnome.devtools.gob.general
Message-ID <[email protected]>
--Signature=_Sat__23_Jul_2005_01_23_00_+0200_jMDKBfO9cL43GNmY
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, 22 Jul 2005 13:21:22 -0700
George <[email protected]> wrote:

> Here are the news in 2.0.12:
>=20
>         * libglade support (see manpage) (Nicolas Brugier)

It's broken.

=3D=3D=3D input
class Test:Window from Gtk:Window (GladeXML "test.glade" "root")
{
  private Gtk:Widget *a GladeXML;
  private Gtk:Widget *b GladeXML;

  init (self)
  {
  }
}
=3D=3D=3D

=3D=3D=3D output
[...]
#line 6 "test.gob"
static void=20
test_window_init (TestWindow * self G_GNUC_UNUSED)
#line 149 "test-window.c"
{
#define __GOB_FUNCTION__ "Test:Window::init"
	self->_priv =3D G_TYPE_INSTANCE_GET_PRIVATE(self,TEST_TYPE_WINDOW,TestWind=
owPrivate);
	{
	GtkWidget * root;
	o->_priv->_glade_xml =3D glade_xml_new("test.glade", "root", NULL);
	root =3D glade_xml_get_widget(o->_priv->_glade_xml, "root");
	gtk_widget_show(root);
	gtk_container_add(GTK_CONTAINER(o), root);
	glade_xml_signal_autoconnect_full(o->_priv->_glade_xml, (GladeXMLConnectFu=
nc)___glade_xml_connect_foreach, (gpointer)o);
}
	self->_priv->a =3D 	{
	GtkWidget * root;
	o->_priv->_glade_xml =3D glade_xml_new("test.glade", "root", NULL);
	root =3D glade_xml_get_widget(o->_priv->_glade_xml, "root");
	gtk_widget_show(root);
	gtk_container_add(GTK_CONTAINER(o), root);
	glade_xml_signal_autoconnect_full(o->_priv->_glade_xml, (GladeXMLConnectFu=
nc)___glade_xml_connect_foreach, (gpointer)o);
}
;
	self->_priv->b =3D 	{
	GtkWidget * root;
	o->_priv->_glade_xml =3D glade_xml_new("test.glade", "root", NULL);
	root =3D glade_xml_get_widget(o->_priv->_glade_xml, "root");
	gtk_widget_show(root);
	gtk_container_add(GTK_CONTAINER(o), root);
	glade_xml_signal_autoconnect_full(o->_priv->_glade_xml, (GladeXMLConnectFu=
nc)___glade_xml_connect_foreach, (gpointer)o);
}
;
	self->_priv->a =3D (GtkWidget * )glade_xml_get_widget(self->_priv->_glade_=
xml, "a");
	self->_priv->b =3D (GtkWidget * )glade_xml_get_widget(self->_priv->_glade_=
xml, "b");
}
#undef __GOB_FUNCTION__
[...]
=3D=3D=3D

--=20
Jean-Yves Lefort

[email protected]
http://lefort.be.eu.org/

--Signature=_Sat__23_Jul_2005_01_23_00_+0200_jMDKBfO9cL43GNmY
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFC4X/UyzD7UaO4AGoRAto4AJ498s8elKgcX7w73XGVLVeDbdWJJQCfad9I
qrGkYePzSqCYQitJqRyHCbE=
=rtKt
-----END PGP SIGNATURE-----

--Signature=_Sat__23_Jul_2005_01_23_00_+0200_jMDKBfO9cL43GNmY--

--
to unsubscribe:
send mail to [email protected] with "unsubscribe gob-list" in the subject