Use gtk_window_destroy
Replace calls to gtk_widget_destroy on windows with gtk_window_destroy.
This commit is contained in:
@@ -260,7 +260,7 @@ main (gint argc,
|
||||
while (TRUE)
|
||||
g_main_context_iteration (NULL, TRUE);
|
||||
|
||||
gtk_widget_destroy (window);
|
||||
gtk_window_destroy (GTK_WINDOW (window));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user