GdkBroadwayDisplay: initialize GError before using it

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

View File

@ -1060,7 +1060,7 @@ _gdk_broadway_display_open (const gchar *display_name)
{
GdkDisplay *display;
GdkBroadwayDisplay *broadway_display;
GError *error;
GError *error = NULL;
int port;
display = g_object_new (GDK_TYPE_BROADWAY_DISPLAY, NULL);