[libshumate/wip/tintou/bounding-box-removal] shumate-bounding-box: Remove ShumateBoundingBox




commit 65f0443b0b4329a699b4ed06d019f69e725a984e
Author: Corentin Noël <corentin noel collabora com>
Date:   Fri Dec 18 16:50:06 2020 +0100

    shumate-bounding-box: Remove ShumateBoundingBox
    
    It is not used anywhere.

 docs/reference/libshumate-docs.sgml |   1 -
 docs/reference/libshumate.types     |   1 -
 shumate/meson.build                 |   2 -
 shumate/shumate-bounding-box.c      | 212 ------------------------------------
 shumate/shumate-bounding-box.h      |  83 --------------
 shumate/shumate-error-tile-source.c |   1 -
 shumate/shumate-path-layer.h        |   1 -
 shumate/shumate-view.h              |   4 -
 shumate/shumate.h                   |   1 -
 9 files changed, 306 deletions(-)
---
diff --git a/docs/reference/libshumate-docs.sgml b/docs/reference/libshumate-docs.sgml
index 2fafcad..492b190 100644
--- a/docs/reference/libshumate-docs.sgml
+++ b/docs/reference/libshumate-docs.sgml
@@ -95,7 +95,6 @@
   <part>
     <title>Others</title>
     <xi:include href="xml/shumate-tile.xml"/>
-    <xi:include href="xml/shumate-bounding-box.xml"/>
     <xi:include href="xml/shumate-version.xml"/>
   </part>
   <part>
diff --git a/docs/reference/libshumate.types b/docs/reference/libshumate.types
index 034eaae..d502b49 100644
--- a/docs/reference/libshumate.types
+++ b/docs/reference/libshumate.types
@@ -1,4 +1,3 @@
-shumate_bounding_box_get_type
 shumate_coordinate_get_type
 shumate_error_tile_source_get_type
 shumate_file_cache_get_type
diff --git a/shumate/meson.build b/shumate/meson.build
index 01f5959..c6649a0 100644
--- a/shumate/meson.build
+++ b/shumate/meson.build
@@ -1,5 +1,4 @@
 libshumate_public_h = [
-  'shumate-bounding-box.h',
   'shumate-coordinate.h',
   'shumate-error-tile-source.h',
   'shumate-file-cache.h',
@@ -32,7 +31,6 @@ libshumate_private_h = [
 ]
 
 libshumate_sources = [
-  'shumate-bounding-box.c',
   'shumate-coordinate.c',
   'shumate-debug.c',
   'shumate-error-tile-source.c',
diff --git a/shumate/shumate-error-tile-source.c b/shumate/shumate-error-tile-source.c
index a46a1b0..62bace9 100644
--- a/shumate/shumate-error-tile-source.c
+++ b/shumate/shumate-error-tile-source.c
@@ -25,7 +25,6 @@
 #include "shumate-error-tile-source.h"
 
 #include "shumate-debug.h"
-#include "shumate-bounding-box.h"
 #include "shumate-enum-types.h"
 #include "shumate-tile.h"
 
diff --git a/shumate/shumate-path-layer.h b/shumate/shumate-path-layer.h
index 1b5545a..bbfbc80 100644
--- a/shumate/shumate-path-layer.h
+++ b/shumate/shumate-path-layer.h
@@ -27,7 +27,6 @@
 
 #include <shumate/shumate-layer.h>
 #include <shumate/shumate-location.h>
-#include <shumate/shumate-bounding-box.h>
 
 #include <gdk/gdk.h>
 #include <glib-object.h>
diff --git a/shumate/shumate-view.h b/shumate/shumate-view.h
index 6f1e938..01589dd 100644
--- a/shumate/shumate-view.h
+++ b/shumate/shumate-view.h
@@ -28,7 +28,6 @@
 #include <shumate/shumate-layer.h>
 #include <shumate/shumate-map-source.h>
 #include <shumate/shumate-license.h>
-#include <shumate/shumate-bounding-box.h>
 #include <shumate/shumate-viewport.h>
 
 #include <glib.h>
@@ -82,8 +81,6 @@ void shumate_view_set_zoom_on_double_click (ShumateView *view,
     gboolean value);
 void shumate_view_set_animate_zoom (ShumateView *view,
     gboolean value);
-void shumate_view_set_world (ShumateView *view,
-    ShumateBoundingBox *bbox);
 void shumate_view_add_layer (ShumateView *view,
     ShumateLayer *layer);
 void shumate_view_remove_layer (ShumateView *view,
@@ -94,7 +91,6 @@ gboolean shumate_view_get_kinetic_mode (ShumateView *view);
 gboolean shumate_view_get_zoom_on_double_click (ShumateView *view);
 gboolean shumate_view_get_animate_zoom (ShumateView *view);
 ShumateState shumate_view_get_state (ShumateView *view);
-ShumateBoundingBox *shumate_view_get_world (ShumateView *view);
 
 G_END_DECLS
 
diff --git a/shumate/shumate.h b/shumate/shumate.h
index 66ed7e9..78b894f 100644
--- a/shumate/shumate.h
+++ b/shumate/shumate.h
@@ -39,7 +39,6 @@
 #include "shumate/shumate-marker.h"
 #include "shumate/shumate-view.h"
 #include "shumate/shumate-viewport.h"
-#include "shumate/shumate-bounding-box.h"
 #include "shumate/shumate-scale.h"
 
 #include "shumate/shumate-map-source.h"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]