mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 00:11:29 +00:00
Make unknown window types fatal
This helps gcc to see that there's no point in warning about gdk_window being used uninitialized.
This commit is contained in:
parent
b93c26f559
commit
b0303c539c
@ -6986,7 +6986,7 @@ gtk_window_realize (GtkWidget *widget)
|
||||
}
|
||||
break;
|
||||
default:
|
||||
g_warning (G_STRLOC": Unknown window type %d!", priv->type);
|
||||
g_error (G_STRLOC": Unknown window type %d!", priv->type);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user