[baobab] baobab-chart: add dummy handler for GDK_SCROLL_SMOOTH
- From: Stefano Facchini <sfacchini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab] baobab-chart: add dummy handler for GDK_SCROLL_SMOOTH
- Date: Thu, 15 Mar 2012 14:28:21 +0000 (UTC)
commit d724a028d54fea765dda4578a1f30910e77ab1a9
Author: Stefano Facchini <stefano facchini gmail com>
Date: Tue Mar 13 11:09:37 2012 +0100
baobab-chart: add dummy handler for GDK_SCROLL_SMOOTH
configure.ac | 2 +-
src/baobab-chart.c | 6 ++++++
2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8af9290..ed49bcd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,7 +41,7 @@ YELP_HELP_INIT
PKG_CHECK_MODULES(BAOBAB, [
glib-2.0 >= 2.30.0
- gtk+-3.0 >= 3.0.0
+ gtk+-3.0 >= 3.3.18
libgtop-2.0
])
diff --git a/src/baobab-chart.c b/src/baobab-chart.c
index d6d95d2..c5ef26b 100644
--- a/src/baobab-chart.c
+++ b/src/baobab-chart.c
@@ -1025,6 +1025,12 @@ baobab_chart_scroll (GtkWidget *widget,
if (baobab_chart_can_zoom_in (chart))
baobab_chart_zoom_in (chart);
break;
+
+ case GDK_SCROLL_SMOOTH :
+ /* since we don't add GDK_SMOOTH_SCROLL_MASK to received
+ events, this is actually never reached and it's here
+ just to silence compiler warnings */
+ break;
}
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]