[retro-gtk] demo: Fix a compilation warning
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk] demo: Fix a compilation warning
- Date: Thu, 11 May 2017 08:47:03 +0000 (UTC)
commit 0cb2aad2a64be58338c3fe4c79b98b5033072935
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu May 11 10:44:53 2017 +0200
demo: Fix a compilation warning
demos/retro-demo.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/demos/retro-demo.c b/demos/retro-demo.c
index 74f16db..6c53bb5 100644
--- a/demos/retro-demo.c
+++ b/demos/retro-demo.c
@@ -91,7 +91,7 @@ retro_demo_activate (GApplication *application)
self->pa_player = retro_pa_player_new ();
retro_pa_player_set_core (self->pa_player, self->core);
- window = gtk_window_new (GTK_WIN_POS_NONE);
+ window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_default_size (GTK_WINDOW (window), 640, 480);
gtk_container_add (GTK_CONTAINER (window), GTK_WIDGET (self->display));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]