glade3 r1861 - in trunk: . gladeui



Author: tvb
Date: Sat Aug  9 15:36:39 2008
New Revision: 1861
URL: http://svn.gnome.org/viewvc/glade3?rev=1861&view=rev

Log:

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



Modified:
   trunk/ChangeLog
   trunk/gladeui/glade-project.c

Modified: trunk/gladeui/glade-project.c
==============================================================================
--- trunk/gladeui/glade-project.c	(original)
+++ trunk/gladeui/glade-project.c	Sat Aug  9 15:36:39 2008
@@ -1557,7 +1557,9 @@
 	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);



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