summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/gtknotebook.c2
-rw-r--r--gtk/gtkrange.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 5c76923d3..4235799fb 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -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;
}
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 5f4c2ef82..5ceaa7d10 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -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