Commit 40586399 authored by Tristan Van Berkom's avatar Tristan Van Berkom

Silently ignore unrecognized signals in glade file instead of aborting


	* gladeui/glade-project.c: Silently ignore unrecognized signals in glade file
	  instead of aborting (bug 533728 - fix by Pavel Kostyuchenko).


svn path=/trunk/; revision=1861
parent da22878d
......@@ -4,6 +4,9 @@
Worked around special child type naming discrepencies between
formats from the plugin side (bug 533217 - fix by Pavel Kostyuchenko).
* gladeui/glade-project.c: Silently ignore unrecognized signals in glade file
instead of aborting (bug 533728 - fix by Pavel Kostyuchenko).
2008-08-06 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/Makefile.am, plugins/gtk+/glade-attributes.[ch]:
......
......@@ -1557,7 +1557,9 @@ glade_project_verify_signal (GladeWidget *widget,
signal_class =
glade_widget_adaptor_get_signal_class (widget->adaptor,
signal->name);
g_assert (signal_class);
//* Cannot verify unknown signal */
if (!signal_class)
return;
g_assert (signal_class->adaptor);
g_object_get (signal_class->adaptor, "catalog", &catalog, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment