[totem/wip/hadess/glsink: 10/12] main: Remove obsolete popover transitions overrides
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/glsink: 10/12] main: Remove obsolete popover transitions overrides
- Date: Fri, 4 Feb 2022 10:24:08 +0000 (UTC)
commit cc496c8d64c59830f50fefce1b8c4b360f3cdc05
Author: Bastien Nocera <hadess hadess net>
Date: Tue Feb 1 13:18:37 2022 +0100
main: Remove obsolete popover transitions overrides
They were disabled because they broke in clutter-gtk, but now the calls
are obsolete, and the animations work correctly, so remove those calls.
src/totem-object.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index 51d6f3cfe..bbb703e55 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -4042,7 +4042,6 @@ totem_callback_connect (TotemObject *totem)
menu = (GMenuModel *) gtk_builder_get_object (totem->xml, "gomenu");
gtk_menu_button_set_menu_model (GTK_MENU_BUTTON (item), menu);
popover = gtk_menu_button_get_popover (GTK_MENU_BUTTON (item));
- gtk_popover_set_transitions_enabled (GTK_POPOVER (popover), FALSE);
gtk_widget_set_size_request (GTK_WIDGET (popover), 175, -1);
g_signal_connect (G_OBJECT (item), "toggled",
G_CALLBACK (popup_menu_shown_cb), totem);
@@ -4067,7 +4066,6 @@ totem_callback_connect (TotemObject *totem)
menu = (GMenuModel *) gtk_builder_get_object (totem->xml, "playermenu");
gtk_menu_button_set_menu_model (GTK_MENU_BUTTON (item), menu);
popover = gtk_menu_button_get_popover (GTK_MENU_BUTTON (item));
- gtk_popover_set_transitions_enabled (GTK_POPOVER (popover), FALSE);
g_signal_connect (G_OBJECT (item), "toggled",
G_CALLBACK (popup_menu_shown_cb), totem);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]