summaryrefslogtreecommitdiff
path: root/src/totem-object.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-02-09 14:02:38 +0100
committerBastien Nocera <hadess@hadess.net>2022-02-09 14:24:49 +0100
commit75bf9710e9a5d0ef25111bd9e4fccec044fc44fa (patch)
tree244a0f6219efe9152ec77accca745852f73f2f03 /src/totem-object.c
parente702f39b6955fc08b230cb0ee60433e3b0d12817 (diff)
downloadtotem-75bf9710e9a5d0ef25111bd9e4fccec044fc44fa.tar.gz
main: Move bvw_grid to GtkBuilder
Diffstat (limited to 'src/totem-object.c')
-rw-r--r--src/totem-object.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/totem-object.c b/src/totem-object.c
index fa505e5cb..f780db92a 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -4288,11 +4288,7 @@ video_widget_create (TotemObject *totem)
G_CALLBACK (on_bvw_motion_notify_cb),
totem);
- totem->bvw_grid = gtk_grid_new ();
- gtk_overlay_add_overlay (GTK_OVERLAY (totem->bvw), totem->bvw_grid);
- gtk_widget_set_halign (totem->bvw_grid, GTK_ALIGN_FILL);
- gtk_widget_set_valign (totem->bvw_grid, GTK_ALIGN_FILL);
- gtk_widget_show (totem->bvw_grid);
+ totem->bvw_grid = GTK_WIDGET (gtk_builder_get_object (totem->xml, "bvw_grid"));
add_fullscreen_toolbar (totem, totem->bvw_grid);
/* Events for the widget video window as well */