Mercurial > audlegacy
diff src/audacious/dock.c @ 4519:fcd7a800dcd7
remove needless gtk_window_get_position call
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Sun, 27 Apr 2008 23:56:32 +0200 |
parents | 6e412073cf28 |
children | 6353bd9e4f05 |
line wrap: on
line diff
--- a/src/audacious/dock.c Sun Apr 27 03:24:07 2008 +0300 +++ b/src/audacious/dock.c Sun Apr 27 23:56:32 2008 +0200 @@ -423,7 +423,7 @@ void dock_move_motion(GtkWindow * w, GdkEventMotion * event) { - gint offset_x, offset_y, win_x, win_y, x, y; + gint offset_x, offset_y, x, y; GList *dlist; GList *window_list; @@ -437,8 +437,6 @@ dlist = gtk_object_get_data(GTK_OBJECT(w), "docked_list"); window_list = gtk_object_get_data(GTK_OBJECT(w), "window_list"); - gtk_window_get_position(w, &win_x, &win_y); - x = event->x_root - offset_x; y = event->y_root - offset_y;