Commit bdd6e817 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Fix the previous commit.

parent feefa270
......@@ -1675,7 +1675,7 @@ stop_scrolling (GtkNotebook *notebook)
{
if (notebook->timer)
{
gtk_timeout_remove (notebook->timer);
g_source_remove (notebook->timer);
notebook->timer = 0;
notebook->need_timer = FALSE;
}
......
......@@ -1327,7 +1327,7 @@ static void stop_scrolling (GtkRange *range)
/* Just be lazy about this, if we scrolled it will all redraw anyway,
* so no point optimizing the button deactivate case
*/
gtk_widget_queue_draw (widget);
gtk_widget_queue_draw (GTK_WIDGET (range));
}
static gint
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment