forked from AuroraMiddleware/gtk
application: Really allow NULL application-id
While the docs were adjusted to claim that NULL application-id is allowed, the code actually segfaulted on it.
This commit is contained in:
parent
099dff1085
commit
75331c0ac2
@ -789,7 +789,7 @@ GtkApplication *
|
||||
gtk_application_new (const gchar *application_id,
|
||||
GApplicationFlags flags)
|
||||
{
|
||||
g_return_val_if_fail (g_application_id_is_valid (application_id), NULL);
|
||||
g_return_val_if_fail (application_id == NULL || g_application_id_is_valid (application_id), NULL);
|
||||
|
||||
g_type_init ();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user