[totem/wip/hadess/glsink: 10/14] remove aspect frame




commit b29baf9b5f7b3f897a00d828f30c3789af074a80
Author: Bastien Nocera <hadess hadess net>
Date:   Tue May 4 12:14:39 2021 +0200

    remove aspect frame

 docs/reference/meson.build       |   1 -
 src/backend/bacon-video-widget.c |   1 -
 src/backend/meson.build          |   1 -
 src/backend/totem-aspect-frame.c | 456 ---------------------------------------
 src/backend/totem-aspect-frame.h |  90 --------
 src/meson.build                  |   1 -
 src/totem-object.c               |   1 +
 7 files changed, 1 insertion(+), 550 deletions(-)
---
diff --git a/docs/reference/meson.build b/docs/reference/meson.build
index 0b499d8a0..157817e6d 100644
--- a/docs/reference/meson.build
+++ b/docs/reference/meson.build
@@ -16,7 +16,6 @@ private_headers = [
   'gstscreenshot.h',
   'icon-helpers.h',
   'screenshot-filename-builder.h',
-  'totem-aspect-frame.h',
   'totem-dnd-menu.h',
   'totem-dvb-setup.h',
   'totem-edit-chapter.h',
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index a7091c88a..7fba1e3d4 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -64,7 +64,6 @@
 #include <gst/tag/tag.h>
 
 #include <clutter-gst/clutter-gst.h>
-#include "totem-aspect-frame.h"
 
 /* system */
 #include <unistd.h>
diff --git a/src/backend/meson.build b/src/backend/meson.build
index eb8a56e62..ed6cfc226 100644
--- a/src/backend/meson.build
+++ b/src/backend/meson.build
@@ -38,7 +38,6 @@ sources = files(
   'bacon-video-widget-gst-missing-plugins.c',
   'bacon-video-widget.c',
   'clock.c',
-  'totem-aspect-frame.c'
 )
 
 enum = 'bacon-video-widget-enums'
diff --git a/src/meson.build b/src/meson.build
index 8d6ca1626..53249017b 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -10,7 +10,6 @@ enum_headers = files(
   'backend/bacon-video-widget-gst-missing-plugins.h',
   'backend/bacon-video-widget.h',
   'backend/clock.h',
-  'backend/totem-aspect-frame.h',
   'icon-helpers.h',
   'totem-grilo.h',
   'totem-interface.h',
diff --git a/src/totem-object.c b/src/totem-object.c
index 17e60154a..30de2b98f 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -4088,6 +4088,7 @@ add_fullscreen_toolbar (TotemObject *totem,
        gtk_grid_attach (GTK_GRID (container), totem->fullscreen_header, 0, 0, 1, 1);
        gtk_widget_set_halign (totem->fullscreen_header, GTK_ALIGN_FILL);
        gtk_widget_set_hexpand (totem->fullscreen_header, TRUE);
+       gtk_widget_set_opacity (totem->fullscreen_header, 0.86);
        gtk_widget_show_all (totem->fullscreen_header);
        gtk_widget_hide (totem->fullscreen_header);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]