From: Tim-Philipp Müller Date: Thu, 25 Oct 2012 13:41:22 +0000 (+0100) Subject: pbutils: fix installer detail string version number X-Git-Tag: 1.19.3~511^2~5801 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=883dc4184894d7347d4a10cc17773fb9ed74e1a7;p=platform%2Fupstream%2Fgstreamer.git pbutils: fix installer detail string version number Should still be '1.0' not '1.1'. Fixs pbutils unit test. --- diff --git a/gst-libs/gst/pbutils/missing-plugins.c b/gst-libs/gst/pbutils/missing-plugins.c index 22af355..27264a0 100644 --- a/gst-libs/gst/pbutils/missing-plugins.c +++ b/gst-libs/gst/pbutils/missing-plugins.c @@ -424,7 +424,7 @@ gst_missing_plugin_message_get_installer_detail (GstMessage * msg) /* FIXME: use gst_installer_detail_new() here too */ 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 (); if (progname) { @@ -616,7 +616,7 @@ gst_installer_detail_new (gchar * description, const gchar * type, GString *s; 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 (); if (progname) {