pbutils: fix installer detail string version number

Should still be '1.0' not '1.1'. Fixs pbutils unit test.
This commit is contained in:
Tim-Philipp Müller 2012-10-25 14:41:22 +01:00
parent 3864209f6e
commit 883dc41848

View file

@ -424,7 +424,7 @@ gst_missing_plugin_message_get_installer_detail (GstMessage * msg)
/* FIXME: use gst_installer_detail_new() here too */ /* FIXME: use gst_installer_detail_new() here too */
str = g_string_new (GST_DETAIL_STRING_MARKER "|"); str = g_string_new (GST_DETAIL_STRING_MARKER "|");
g_string_append_printf (str, "%u.%u|", GST_VERSION_MAJOR, GST_VERSION_MINOR); g_string_append_printf (str, "%s|", GST_API_VERSION);
progname = (const gchar *) g_get_prgname (); progname = (const gchar *) g_get_prgname ();
if (progname) { if (progname) {
@ -616,7 +616,7 @@ gst_installer_detail_new (gchar * description, const gchar * type,
GString *s; GString *s;
s = g_string_new (GST_DETAIL_STRING_MARKER "|"); s = g_string_new (GST_DETAIL_STRING_MARKER "|");
g_string_append_printf (s, "%u.%u|", GST_VERSION_MAJOR, GST_VERSION_MINOR); g_string_append_printf (s, "%s|", GST_API_VERSION);
progname = (const gchar *) g_get_prgname (); progname = (const gchar *) g_get_prgname ();
if (progname) { if (progname) {