glade3 r1786 - in trunk: . gladeui



Author: tvb
Date: Wed Apr  9 21:40:54 2008
New Revision: 1786
URL: http://svn.gnome.org/viewvc/glade3?rev=1786&view=rev

Log:

	* NEWS, configure.ac: Rolling 3.5.2. quick bugfix release

	* gladeui/glade-widget-adaptor.c: oops, was parsing booleans
	as doubles, fixed bugs with builder-unsupported and deprecated.



Modified:
   trunk/ChangeLog
   trunk/NEWS
   trunk/configure.ac
   trunk/gladeui/glade-project.c
   trunk/gladeui/glade-widget-adaptor.c

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Wed Apr  9 21:40:54 2008
@@ -1,4 +1,10 @@
 ===========
+Glade 3.5.2
+===========
+	- oops, was parsing booleans as doubles, fixed bugs with 
+	  builder-unsupported and deprecated.
+
+===========
 Glade 3.5.1
 ===========
 	- Added versioning support, you can always chose the target version of

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Wed Apr  9 21:40:54 2008
@@ -4,7 +4,7 @@
 
 m4_define(glade_major_version, 3)
 m4_define(glade_minor_version, 5)
-m4_define(glade_micro_version, 1)
+m4_define(glade_micro_version, 2)
 m4_define(glade_version, glade_major_version.glade_minor_version.glade_micro_version)
 
 AC_INIT([glade3], [glade_version],

Modified: trunk/gladeui/glade-project.c
==============================================================================
--- trunk/gladeui/glade-project.c	(original)
+++ trunk/gladeui/glade-project.c	Wed Apr  9 21:40:54 2008
@@ -2078,11 +2078,11 @@
 }
 
 static void
-glade_project_verify_adaptor_supported (GladeProject       *project,
-					GladeWidgetAdaptor *adaptor,
-					const gchar        *path_name,
-					GString            *string,
-					gboolean            saving)
+glade_project_verify_adaptor (GladeProject       *project,
+			      GladeWidgetAdaptor *adaptor,
+			      const gchar        *path_name,
+			      GString            *string,
+			      gboolean            saving)
 {
 	GladeWidgetAdaptor *adaptor_iter;
 	gint                target_major, target_minor;
@@ -2111,15 +2111,17 @@
 		    GWA_BUILDER_UNSUPPORTED (adaptor_iter))
 			g_string_append_printf
 				(string,
-				 _("[%s] Object class '%s' of catalog '%s' is not supported "
+				 _("[%s] Object class '%s' from %s %d.%d is not supported "
 				   "by GtkBuilder\n"),
-				 path_name, adaptor_iter->title, catalog);
+				 path_name, adaptor_iter->title, catalog,
+				 target_major, target_minor);
 
 		if (!saving && GWA_DEPRECATED (adaptor_iter))
 			g_string_append_printf
 				(string, 
-				 _("[%s] Object class '%s' of catalog '%s' is deprecated\n"),
-				 path_name, adaptor_iter->title, catalog);
+				 _("[%s] Object class '%s' from %s %d.%d is deprecated\n"),
+				 path_name, adaptor_iter->title, catalog,
+				 target_major, target_minor);
 
 		g_free (catalog);
 	}
@@ -2143,8 +2145,8 @@
 
 		path_name = glade_widget_generate_path_name (widget);
 
-		glade_project_verify_adaptor_supported (project, widget->adaptor, 
-							path_name, string, saving);
+		glade_project_verify_adaptor (project, widget->adaptor, 
+					      path_name, string, saving);
 		glade_project_verify_properties (widget, path_name, string);
 		glade_project_verify_signals (widget, path_name, string);
 

Modified: trunk/gladeui/glade-widget-adaptor.c
==============================================================================
--- trunk/gladeui/glade-widget-adaptor.c	(original)
+++ trunk/gladeui/glade-widget-adaptor.c	Wed Apr  9 21:40:54 2008
@@ -1472,11 +1472,11 @@
 		 &adaptor_class->version_since_minor);
 
 	adaptor_class->deprecated = 
-		glade_xml_get_property_double
+		glade_xml_get_property_boolean
 		(node, GLADE_TAG_DEPRECATED, adaptor_class->deprecated);
 
 	adaptor_class->builder_unsupported = 
-		glade_xml_get_property_double
+		glade_xml_get_property_boolean
 		(node, GLADE_TAG_BUILDER_UNSUPPORTED, adaptor_class->builder_unsupported);
 
 	adaptor_class->fixed = 



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