debugspy: Use G_PARAM_STATIC_STRINGS

This commit is contained in:
Sebastian Dröge 2011-05-26 09:59:35 +02:00
parent 555959a852
commit 6244704089

View file

@ -144,12 +144,12 @@ gst_debug_spy_class_init (GstDebugSpyClass * klass)
g_object_class_install_property (gobject_class, PROP_SILENT, g_object_class_install_property (gobject_class, PROP_SILENT,
g_param_spec_boolean ("silent", "Silent", "Produce verbose output ?", g_param_spec_boolean ("silent", "Silent", "Produce verbose output ?",
FALSE, G_PARAM_READWRITE)); FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_CHECKSUM_TYPE, g_object_class_install_property (gobject_class, PROP_CHECKSUM_TYPE,
g_param_spec_enum ("checksum-type", "Checksum TYpe", g_param_spec_enum ("checksum-type", "Checksum TYpe",
"Checksum algorithm to use", GST_DEBUG_SPY_CHECKSUM_TYPE, "Checksum algorithm to use", GST_DEBUG_SPY_CHECKSUM_TYPE,
G_CHECKSUM_SHA1, G_PARAM_READWRITE)); G_CHECKSUM_SHA1, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
} }