mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 22:20:24 +00:00
GdkBroadwayDisplay: initialize GError before using it
This commit is contained in:
parent
cd016ef8e3
commit
4dabc8ba84
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user