[gnome-shell] st-scroll-bar: Fix build warnings
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] st-scroll-bar: Fix build warnings
- Date: Wed, 1 Aug 2012 15:40:37 +0000 (UTC)
commit 247566ca1db87d07f78be2b796cd4d2e209bb6b9
Author: Florian MÃllner <fmuellner gnome org>
Date: Wed Aug 1 17:36:16 2012 +0200
st-scroll-bar: Fix build warnings
Introduced by commit aa120e09020
src/st/st-scroll-bar.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/st/st-scroll-bar.c b/src/st/st-scroll-bar.c
index 172d4a8..b7d1bb5 100644
--- a/src/st/st-scroll-bar.c
+++ b/src/st/st-scroll-bar.c
@@ -591,7 +591,7 @@ stop_scrolling (StScrollBar *bar)
if (!bar->priv->capture_handler)
return;
- st_widget_remove_style_pseudo_class (bar->priv->handle, "active");
+ st_widget_remove_style_pseudo_class (ST_WIDGET (bar->priv->handle), "active");
stage = CLUTTER_STAGE (clutter_actor_get_stage (bar->priv->trough));
g_signal_handler_disconnect (stage, bar->priv->capture_handler);
@@ -653,7 +653,7 @@ handle_button_press_event_cb (ClutterActor *actor,
&priv->y_origin))
return FALSE;
- st_widget_add_style_pseudo_class (priv->handle, "active");
+ st_widget_add_style_pseudo_class (ST_WIDGET (priv->handle), "active");
/* Account for the scrollbar-trough-handle nesting. */
priv->x_origin += clutter_actor_get_x (priv->trough);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]