On Wed, 2010-03-31 at 20:43 +0200, Javier Fernandez Garcia-Boente wrote:
> On Tue, 2010-03-30 at 14:37 +0100, Paulo Cabido wrote:
> > Yes, I checked but didn't see any new bugs.
> > 
> > The behavior almost feels like a regression. I just wanted to confirm
> > that I'm not the only one experiencing this before submitting a bug.
> > A quick run with the example example/master-example shows the problem.
> 

> process 12374: arguments to dbus_message_new_error() were incorrect,
> assertion "_dbus_check_is_valid_error_name (error_name)" failed in file
> dbus-message.c line 1211.
> This is normally a bug in some application using the D-Bus library.
>   D-Bus not built with -rdynamic so unable to print a backtrace
> 
> Checking the DBus internals, i've detected the problem. It seems that
> the name generated by the glib-mkenum "not-activated" is not valid to
> build the DBus error name. The "-" is not a valid character. 
> 

Patch proposal attached. 
Do you think opening a new bug would worth ? 


-- 
Javier Fernández García-Boente
http://blogs.igalia.com/jfernandez/
www.igalia.com
diff --git a/geoclue/geoclue-error.h b/geoclue/geoclue-error.h
index 1138578..4f4bcb4 100644
--- a/geoclue/geoclue-error.h
+++ b/geoclue/geoclue-error.h
@@ -38,8 +38,8 @@
  * Error values for providers.
  **/
 typedef enum {
-	GEOCLUE_ERROR_NOT_IMPLEMENTED,
-	GEOCLUE_ERROR_NOT_AVAILABLE,
+	GEOCLUE_ERROR_NOT_IMPLEMENTED, /*< nick=NotImplemented >*/
+	GEOCLUE_ERROR_NOT_AVAILABLE,   /*< nick=NotAvailable >*/
 	GEOCLUE_ERROR_FAILED,
 } GeoclueError;
 

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
GeoClue mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/geoclue

Reply via email to