# HG changeset patch # User Tomasz Mon # Date 1209333392 -7200 # Node ID fcd7a800dcd7b1e528254e823d6278b4e1a73db7 # Parent f2271d78e07ef7265d7afc99fef9699ed81e56ce remove needless gtk_window_get_position call diff -r f2271d78e07e -r fcd7a800dcd7 src/audacious/dock.c --- 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;