diff options
author | Bastien Nocera <hadess@hadess.net> | 2022-02-01 13:18:37 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2022-02-04 11:23:56 +0100 |
commit | cc496c8d64c59830f50fefce1b8c4b360f3cdc05 (patch) | |
tree | 24d6cabad547f57e24a4ade3a3f63fe1bd13893a /src/totem-object.c | |
parent | 33607c9d47bd9c68fd95b1938ff8e2e73f2815ae (diff) | |
download | totem-cc496c8d64c59830f50fefce1b8c4b360f3cdc05.tar.gz |
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.
Diffstat (limited to 'src/totem-object.c')
-rw-r--r-- | src/totem-object.c | 2 |
1 files changed, 0 insertions, 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); |