--- udisks-generated.c.orig	2012-07-06 09:03:47.330803893 -0400
+++ udisks-generated.c	2012-07-06 09:04:00.166534299 -0400
@@ -1,5 +1,5 @@
 /*
- * Generated by gdbus-codegen 2.33.2. DO NOT EDIT.
+ * Generated by gdbus-codegen 2.33.4. DO NOT EDIT.
  *
  * The license of this code is the same as for the source it was derived from.
  */
@@ -10,6 +10,7 @@
 
 #include "udisks-generated.h"
 
+#include <string.h>
 #ifdef G_OS_UNIX
 #  include <gio/gunixfdlist.h>
 #endif
@@ -124,7 +125,12 @@
         ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
         break;
       case G_TYPE_DOUBLE:
-        ret = (g_value_get_double (a) == g_value_get_double (b));
+        {
+          /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
+          gdouble da = g_value_get_double (a);
+          gdouble db = g_value_get_double (b);
+          ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
+        }
         break;
       case G_TYPE_STRING:
         ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
@@ -13943,7 +13949,7 @@
     G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
     NULL
   },
-  "type-",
+  "type",
   FALSE
 };
 
@@ -13993,7 +13999,7 @@
 guint
 udisks_partition_table_override_properties (GObjectClass *klass, guint property_id_begin)
 {
-  g_object_class_override_property (klass, property_id_begin++, "type-");
+  g_object_class_override_property (klass, property_id_begin++, "type");
   return property_id_begin - 1;
 }
 
@@ -14009,7 +14015,7 @@
  * UDisksPartitionTableIface:
  * @parent_iface: The parent interface.
  * @handle_create_partition: Handler for the #UDisksPartitionTable::handle-create-partition signal.
- * @get_type_: Getter for the #UDisksPartitionTable:type- property.
+ * @get_type_: Getter for the #UDisksPartitionTable:type property.
  *
  * Virtual table for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-UDisks2-PartitionTable.top_of_page">org.freedesktop.UDisks2.PartitionTable</link>.
  */
@@ -14047,14 +14053,14 @@
 
   /* GObject properties for D-Bus properties: */
   /**
-   * UDisksPartitionTable:type-:
+   * UDisksPartitionTable:type:
    *
    * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks2-PartitionTable.Type">"Type"</link>.
    *
    * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
    */
   g_object_interface_install_property (iface,
-    g_param_spec_string ("type-", "Type", "Type", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
+    g_param_spec_string ("type", "Type", "Type", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 }
 
 typedef UDisksPartitionTableIface UDisksPartitionTableInterface;
@@ -14092,7 +14098,7 @@
 udisks_partition_table_dup_type_ (UDisksPartitionTable *object)
 {
   gchar *value;
-  g_object_get (G_OBJECT (object), "type-", &value, NULL);
+  g_object_get (G_OBJECT (object), "type", &value, NULL);
   return value;
 }
 
@@ -14108,7 +14114,7 @@
 void
 udisks_partition_table_set_type_ (UDisksPartitionTable *object, const gchar *value)
 {
-  g_object_set (G_OBJECT (object), "type-", value, NULL);
+  g_object_set (G_OBJECT (object), "type", value, NULL);
 }
 
 /**
@@ -15304,7 +15310,7 @@
     G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
     NULL
   },
-  "type-",
+  "type",
   FALSE
 };
 
@@ -15468,7 +15474,7 @@
 udisks_partition_override_properties (GObjectClass *klass, guint property_id_begin)
 {
   g_object_class_override_property (klass, property_id_begin++, "number");
-  g_object_class_override_property (klass, property_id_begin++, "type-");
+  g_object_class_override_property (klass, property_id_begin++, "type");
   g_object_class_override_property (klass, property_id_begin++, "flags");
   g_object_class_override_property (klass, property_id_begin++, "offset");
   g_object_class_override_property (klass, property_id_begin++, "size");
@@ -15503,7 +15509,7 @@
  * @get_offset: Getter for the #UDisksPartition:offset property.
  * @get_size: Getter for the #UDisksPartition:size property.
  * @get_table: Getter for the #UDisksPartition:table property.
- * @get_type_: Getter for the #UDisksPartition:type- property.
+ * @get_type_: Getter for the #UDisksPartition:type property.
  * @get_uuid: Getter for the #UDisksPartition:uuid property.
  *
  * Virtual table for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-UDisks2-Partition.top_of_page">org.freedesktop.UDisks2.Partition</link>.
@@ -15619,14 +15625,14 @@
   g_object_interface_install_property (iface,
     g_param_spec_uint ("number", "Number", "Number", 0, G_MAXUINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   /**
-   * UDisksPartition:type-:
+   * UDisksPartition:type:
    *
    * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks2-Partition.Type">"Type"</link>.
    *
    * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
    */
   g_object_interface_install_property (iface,
-    g_param_spec_string ("type-", "Type", "Type", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
+    g_param_spec_string ("type", "Type", "Type", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   /**
    * UDisksPartition:flags:
    *
@@ -15767,7 +15773,7 @@
 udisks_partition_dup_type_ (UDisksPartition *object)
 {
   gchar *value;
-  g_object_get (G_OBJECT (object), "type-", &value, NULL);
+  g_object_get (G_OBJECT (object), "type", &value, NULL);
   return value;
 }
 
@@ -15783,7 +15789,7 @@
 void
 udisks_partition_set_type_ (UDisksPartition *object, const gchar *value)
 {
-  g_object_set (G_OBJECT (object), "type-", value, NULL);
+  g_object_set (G_OBJECT (object), "type", value, NULL);
 }
 
 /**
