Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 178824 | Differences between
and this patch

Collapse All | Expand All

(-)src/gtk/slider.cpp (-2 / +13 lines)
Lines 335-347 int wxSlider::GetThumbLength() const Link Here
335
    return (int)ceil(m_adjust->page_size);
335
    return (int)ceil(m_adjust->page_size);
336
}
336
}
337
337
338
void wxSlider::SetLineSize( int WXUNUSED(lineSize) )
338
void wxSlider::SetLineSize( int lineSize )
339
{
339
{
340
    double fline = (double)lineSize;
341
342
    if (fabs(fline-m_adjust->step_increment) < 0.2) return;
343
344
    m_adjust->step_increment = fline;
345
346
    GtkDisableEvents();
347
348
    gtk_signal_emit_by_name( GTK_OBJECT(m_adjust), "changed" );
349
350
    GtkEnableEvents();
340
}
351
}
341
352
342
int wxSlider::GetLineSize() const
353
int wxSlider::GetLineSize() const
343
{
354
{
344
    return 0;
355
    return (int)ceil(m_adjust->step_increment);
345
}
356
}
346
357
347
bool wxSlider::IsOwnGtkWindow( GdkWindow *window )
358
bool wxSlider::IsOwnGtkWindow( GdkWindow *window )

Return to bug 178824