libotutil: Remove ot_variant_new_from_bytes()

Not needed anymore - use g_variant_new_from_bytes().
This commit is contained in:
Matthew Barnes committed 2015-03-02 15:12:06 -05:00
1 parent 85933c7cca
commit b05d670031
4 files changed
+7 -20

No files matched your search

-8
View File
@@ -275,14 +275,6 @@ ot_util_variant_builder_from_variant (GVariant *variant,
return builder;
}
GVariant *
ot_variant_new_from_bytes (const GVariantType *type,
GBytes *bytes,
gboolean trusted)
{
return g_variant_new_from_bytes (type, bytes, trusted);
}
/**
* ot_variant_bsearch_str:
* @array: A GVariant array whose first element must be a string
-5
View File
@@ -67,11 +67,6 @@ GInputStream *ot_variant_read (GVariant *variant);
GVariantBuilder *ot_util_variant_builder_from_variant (GVariant *variant,
const GVariantType *type);
GVariant *
ot_variant_new_from_bytes (const GVariantType *type,
GBytes *bytes,
gboolean trusted);
gboolean
ot_variant_bsearch_str (GVariant *array,
const char *str,