[totem] main: Remove unused code
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] main: Remove unused code
- Date: Tue, 22 Apr 2014 15:11:24 +0000 (UTC)
commit 5c0e927d58c7ab3d7cb27a07175c46e39a2c19ad
Author: Bastien Nocera <hadess hadess net>
Date: Tue Apr 22 17:05:27 2014 +0200
main: Remove unused code
This code to capture events on the vbox that contains the video widget
isn't needed anymore.
src/totem-object.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index 11ec52e..cc9bf9b 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -3730,10 +3730,6 @@ totem_callback_connect (TotemObject *totem)
/* Connect the keys */
gtk_widget_add_events (totem->win, GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK);
- /* Connect the mouse wheel */
- gtk_widget_add_events (GTK_WIDGET (gtk_builder_get_object (totem->xml, "tmw_main_vbox")),
GDK_SCROLL_MASK | GDK_SMOOTH_SCROLL_MASK);
- gtk_widget_add_events (totem->seek, GDK_SCROLL_MASK | GDK_SMOOTH_SCROLL_MASK);
-
/* Set sensitivity of the toolbar buttons */
totem_object_set_sensitivity ("play", FALSE);
totem_object_set_sensitivity ("next-chapter", FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]