[murrine/gtk+3] Fix compile with animated progressbar
- From: Andrea Cimitan <acimitan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [murrine/gtk+3] Fix compile with animated progressbar
- Date: Wed, 13 Oct 2010 18:19:37 +0000 (UTC)
commit aea680ac5f3857021b5da889398aee32a71263f4
Author: Andrea Cimitan <andrea cimitan gmail com>
Date: Wed Oct 13 20:19:15 2010 +0200
Fix compile with animated progressbar
src/murrine_style.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/murrine_style.c b/src/murrine_style.c
index 8b8d169..99ace6e 100644
--- a/src/murrine_style.c
+++ b/src/murrine_style.c
@@ -1119,10 +1119,8 @@ murrine_style_draw_box (DRAW_ARGS)
#ifdef HAVE_ANIMATION
if(murrine_style->animation && MRN_IS_PROGRESS_BAR (widget))
{
- gboolean activity_mode = GTK_PROGRESS (widget)->activity_mode;
-
- if (!activity_mode)
- murrine_animation_progressbar_add ((gpointer)widget);
+#warning Assuming non-pulsing progress bars because there is currently no way to query them in GTK+ 3.0.
+ murrine_animation_progressbar_add ((gpointer)widget);
}
elapsed = murrine_animation_elapsed (widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]