changeset 2720:e944ac38f0a0

remove mainwin_mouse_button_release
author Tomasz Mon <desowin@gmail.com>
date Sun, 22 Jun 2008 13:46:38 +0200
parents 51fc44b99b58
children e75a38ffb384
files src/skins/ui_main.c
diffstat 1 files changed, 0 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/src/skins/ui_main.c	Fri Jun 20 21:26:12 2008 +0200
+++ b/src/skins/ui_main.c	Sun Jun 22 13:46:38 2008 +0200
@@ -704,18 +704,6 @@
     gtk_widget_hide(mainwin_sposition);
 }
 
-static gboolean
-mainwin_mouse_button_release(GtkWidget * widget,
-                             GdkEventButton * event,
-                             gpointer callback_data)
-{
-    if (dock_is_moving(GTK_WINDOW(mainwin))) {
-        dock_move_release(GTK_WINDOW(mainwin));
-    }
-
-    return FALSE;
-}
-
 void
 mainwin_scrolled(GtkWidget *widget, GdkEventScroll *event,
                  gpointer callback_data)
@@ -2428,8 +2416,6 @@
                      G_CALLBACK(mainwin_mouse_button_press), NULL);
     g_signal_connect(mainwin, "scroll_event",
                      G_CALLBACK(mainwin_scrolled), NULL);
-    g_signal_connect(mainwin, "button_release_event",
-                     G_CALLBACK(mainwin_mouse_button_release), NULL);
 
     aud_drag_dest_set(mainwin);