[gtk/matthiasc/for-master: 4/4] gtk-demo: Give the video player a default size
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 4/4] gtk-demo: Give the video player a default size
- Date: Mon, 10 Aug 2020 20:36:58 +0000 (UTC)
commit 82253d1a0ae33191a81f58e40e6e2cab2a6e3cde
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Aug 9 22:34:17 2020 -0400
gtk-demo: Give the video player a default size
demos/gtk-demo/video_player.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/demos/gtk-demo/video_player.c b/demos/gtk-demo/video_player.c
index 3dbbe4a592..d84bc123b5 100644
--- a/demos/gtk-demo/video_player.c
+++ b/demos/gtk-demo/video_player.c
@@ -73,6 +73,7 @@ do_video_player (GtkWidget *do_widget)
gtk_window_set_display (GTK_WINDOW (window),
gtk_widget_get_display (do_widget));
gtk_window_set_title (GTK_WINDOW (window), "Video Player");
+ gtk_window_set_default_size (GTK_WINDOW (window), 600, 400);
g_object_add_weak_pointer (G_OBJECT (window), (gpointer *)&window);
video = gtk_video_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]