vcl/unx/gtk3/gtk3gtkframe.cxx | 4 ---- 1 file changed, 4 deletions(-) New commits: commit d67574a0fdd2b3f701d6404a6b1f1537f4dcae7e Author: Caolán McNamara <caol...@redhat.com> Date: Tue Dec 8 16:15:05 2015 +0000
remove debugging code Change-Id: Ice5d9d9e58886b752a7c88049a5f4e0986a7a86b (cherry picked from commit af9f0e5f3586a7a74db2ccec75f0a17ee48f1ee5) diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx index 92f9958..d1474df 100644 --- a/vcl/unx/gtk3/gtk3gtkframe.cxx +++ b/vcl/unx/gtk3/gtk3gtkframe.cxx @@ -2449,21 +2449,17 @@ gboolean GtkSalFrame::signalScroll( GtkWidget*, GdkEvent* pEvent, gpointer frame SalWheelMouseEvent aEvent; aEvent.mnTime = pSEvent->time; - fprintf(stderr, "time is %ld\n", aEvent.mnTime); aEvent.mnX = (sal_uLong)pSEvent->x; aEvent.mnY = (sal_uLong)pSEvent->y; aEvent.mnCode = GetMouseModCode( pSEvent->state ); aEvent.mnScrollLines = 3; - fprintf(stderr, "scroll\n"); - switch (pSEvent->direction) { case GDK_SCROLL_SMOOTH: { double delta_x, delta_y; gdk_event_get_scroll_deltas(pEvent, &delta_x, &delta_y); - fprintf(stderr, "%f %f\n", delta_x, delta_y); //pick the bigger one I guess aEvent.mbHorz = fabs(delta_x) > fabs(delta_y); if (aEvent.mbHorz)
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits