GdkBroadwayDisplay: include proper port number in error trace

This commit is contained in:
Aleksander Morgado 2012-12-05 11:15:42 +01:00
parent 4dabc8ba84
commit a61b359498

View File

@ -1104,7 +1104,7 @@ _gdk_broadway_display_open (const gchar *display_name)
G_OBJECT (display), G_OBJECT (display),
&error)) &error))
{ {
g_printerr ("Unable to listen to port %d: %s\n", 8080, error->message); g_printerr ("Unable to listen to port %d: %s\n", port, error->message);
g_error_free (error); g_error_free (error);
return NULL; return NULL;
} }