mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +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;
|
GdkDisplay *display;
|
||||||
GdkBroadwayDisplay *broadway_display;
|
GdkBroadwayDisplay *broadway_display;
|
||||||
GError *error;
|
GError *error = NULL;
|
||||||
int port;
|
int port;
|
||||||
|
|
||||||
display = g_object_new (GDK_TYPE_BROADWAY_DISPLAY, NULL);
|
display = g_object_new (GDK_TYPE_BROADWAY_DISPLAY, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user