Discussion:
Syntax help
Gurjot Singh
2014-06-06 21:04:17 UTC
Permalink
Hi,
I am converting some code from old libglade format to the GtkBuilder format.
While compiling I'm getting this error:
error: ‘glade_xml_signal_autoconnect’ was not declared in this scope

This is the line that generates it:
glade_xml_signal_autoconnect (xml);

And where xml is:
GtkBuilder *xml = gtk_builder_new ();

What would be the new syntax that is to be used in
glade_xml_signal_autoconnect() 's place?
--
Gurjot Singh
Blog: http://bhattigurjot.wordpress.com

"You gotta get hurt 'cause that's how you'll learn, You gotta try your
hardest no matter how much you'll burn." ~ Scott Singh
_______________________________________________
Glade-devel maillist - Glade-***@lists.ximian.com
http://lists.ximian.com/mailman/listi
Gurjot Singh
2014-06-06 21:10:41 UTC
Permalink
Post by Gurjot Singh
glade_xml_signal_autoconnect (xml);
GtkBuilder *xml = gtk_builder_new ();
What would be the new syntax that is to be used in
glade_xml_signal_autoconnect() 's place?
gtk_builder_connect_signals(xml, Null);
Is this correct?
--
Gurjot Singh
Blog: http://bhattigurjot.wordpress.com

"You gotta get hurt 'cause that's how you'll learn, You gotta try your
hardest no matter how much you'll burn." ~ Scott Singh
_______________________________________________
Glade-devel maillist - Glade-***@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-devel
Loading...