Enlightenment CVS committal

Author  : lok
Project : e17
Module  : libs/e_dbus

Dir     : e17/libs/e_dbus/src/lib/notification


Modified Files:
        marshal.c 


Log Message:
Added a sanity check in case no hints were specified with the notification.

===================================================================
RCS file: /cvs/e/e17/libs/e_dbus/src/lib/notification/marshal.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- marshal.c   21 Feb 2008 17:32:57 -0000      1.5
+++ marshal.c   28 Feb 2008 16:43:30 -0000      1.6
@@ -452,6 +452,10 @@
   int x_set = 0, y_set = 0;
   int x, y;
   dbus_message_iter_recurse(iter, &arr);
+  
+  if (dbus_message_iter_get_arg_type(&arr) == DBUS_TYPE_INVALID)
+    return;
+  
   do
   {
     DBusMessageIter dict;



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to