pulse: Style fix: use g_strdup() instead of printf()ing a simple string
authorBenjamin Otte <otte@redhat.com>
Tue, 1 Jun 2010 19:32:11 +0000 (21:32 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 2 Jun 2010 12:20:26 +0000 (14:20 +0200)
ext/pulse/pulseutil.c

index 73d3298..f28ba3c 100644 (file)
@@ -121,9 +121,9 @@ gst_pulse_client_name (void)
   const char *c;
 
   if ((c = g_get_application_name ()))
-    return g_strdup_printf ("%s", c);
+    return g_strdup (c);
   else if (pa_get_binary_name (buf, sizeof (buf)))
-    return g_strdup_printf ("%s", buf);
+    return g_strdup (buf);
   else
     return g_strdup ("GStreamer");
 }