[libshumate] view: Remove unused macro
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libshumate] view: Remove unused macro
- Date: Fri, 5 Mar 2021 13:23:15 +0000 (UTC)
commit 3cc8cb96afa7088513036303d56befa8012e2ce0
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Mar 4 21:24:50 2021 -0300
view: Remove unused macro
shumate/shumate-view.c | 6 ------
1 file changed, 6 deletions(-)
---
diff --git a/shumate/shumate-view.c b/shumate/shumate-view.c
index 7b8c6bd..4aa480f 100644
--- a/shumate/shumate-view.c
+++ b/shumate/shumate-view.c
@@ -90,12 +90,6 @@ static guint signals[LAST_SIGNAL] = { 0, };
static GParamSpec *obj_properties[N_PROPERTIES] = { NULL, };
-#define ZOOM_LEVEL_OUT_OF_RANGE(priv, level) \
- (level < shumate_viewport_get_min_zoom_level (priv->viewport) || \
- level > shumate_viewport_get_max_zoom_level (priv->viewport) || \
- level < shumate_map_source_get_min_zoom_level (priv->map_source) || \
- level > shumate_map_source_get_max_zoom_level (priv->map_source))
-
/* Between state values for go_to */
typedef struct
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]