Skip to content

Commit

Permalink
wait for term to be realized too
Browse files Browse the repository at this point in the history
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
  • Loading branch information
Keruspe committed Apr 21, 2021
1 parent 9b43d30 commit 3861943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/germinal/germinal.c
Expand Up @@ -253,7 +253,7 @@ germinal_spawn_command (gpointer user_data)
{
g_autofree GerminalCommandData *data = user_data;

if (!gtk_widget_get_realized (data->win))
if (!gtk_widget_get_realized (data->win) || !gtk_widget_get_realized ((GtkWidget *) data->term))
{
data = NULL;
return G_SOURCE_CONTINUE;
Expand Down

0 comments on commit 3861943

Please sign in to comment.