[dia] [cleanup] remove stale prototypes



commit b33b5ec62bbffac8323d22f2fd003d3155743364
Author: Hans Breuer <hans breuer org>
Date:   Sun Oct 5 14:59:13 2014 +0200

    [cleanup] remove stale prototypes

 lib/font.h          |    5 -----
 lib/geometry.h      |   11 -----------
 objects/AADL/aadl.h |    3 ---
 3 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/lib/font.h b/lib/font.h
index 63ebb96..b1a9690 100644
--- a/lib/font.h
+++ b/lib/font.h
@@ -232,11 +232,6 @@ real dia_font_descent(const char* string, DiaFont* font, real height);
     /* prepares a layout of the text, in font 'font'. */
 PangoLayout* dia_font_build_layout(const char* string, DiaFont* font,
                                    real height);
-/* prepares a layout of the text, in font 'font' scaled by matrix. */
-PangoLayout* dia_font_build_layout_with_matrix(const char* string,
-                                              DiaFont* font,
-                                              real height,
-                                              PangoMatrix *matrix);
 
 real* dia_font_get_sizes(const char* string, DiaFont *font, real height,
                         real* width, real* ascent, real* descent, 
diff --git a/lib/geometry.h b/lib/geometry.h
index 013de16..d016dc0 100644
--- a/lib/geometry.h
+++ b/lib/geometry.h
@@ -329,17 +329,6 @@ distance_point_point(const Point *p1, const Point *p2)
 }
 #endif
 
-G_INLINE_FUNC const Point *closest_to(const Point *to, const Point *p1, const Point *p2);
-#ifdef G_CAN_INLINE
-G_INLINE_FUNC const Point *
-closest_to(const Point *to, const Point *p1, const Point *p2)
-{
-  if (distance_point_point(to,p1) < distance_point_point(to,p2))
-          return p1;
-  return p2;
-}
-#endif
-
 G_INLINE_FUNC real distance_point_point_manhattan(const Point *p1, 
                                                   const Point *p2);
 #ifdef G_CAN_INLINE
diff --git a/objects/AADL/aadl.h b/objects/AADL/aadl.h
index 8048bbe..2247f3e 100755
--- a/objects/AADL/aadl.h
+++ b/objects/AADL/aadl.h
@@ -40,9 +40,6 @@
 #undef max
 #define max(a,b) (a>b?a:b)
 
-#define L1 printf("%d\n", __LINE__);
-
-
 /***********************************************
  **              CONSTANTS                    **
  ***********************************************/


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