• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

作図ソフト dia の改良版


Commit MetaInfo

Revisionb33b5ec62bbffac8323d22f2fd003d3155743364 (tree)
Time2014-10-10 03:01:10
AuthorHans Breuer <hans@breu...>
CommiterHans Breuer

Log Message

[cleanup] remove stale prototypes

Change Summary

Incremental Difference

--- a/lib/font.h
+++ b/lib/font.h
@@ -232,11 +232,6 @@ real dia_font_descent(const char* string, DiaFont* font, real height);
232232 /* prepares a layout of the text, in font 'font'. */
233233 PangoLayout* dia_font_build_layout(const char* string, DiaFont* font,
234234 real height);
235-/* prepares a layout of the text, in font 'font' scaled by matrix. */
236-PangoLayout* dia_font_build_layout_with_matrix(const char* string,
237- DiaFont* font,
238- real height,
239- PangoMatrix *matrix);
240235
241236 real* dia_font_get_sizes(const char* string, DiaFont *font, real height,
242237 real* width, real* ascent, real* descent,
--- a/lib/geometry.h
+++ b/lib/geometry.h
@@ -329,17 +329,6 @@ distance_point_point(const Point *p1, const Point *p2)
329329 }
330330 #endif
331331
332-G_INLINE_FUNC const Point *closest_to(const Point *to, const Point *p1, const Point *p2);
333-#ifdef G_CAN_INLINE
334-G_INLINE_FUNC const Point *
335-closest_to(const Point *to, const Point *p1, const Point *p2)
336-{
337- if (distance_point_point(to,p1) < distance_point_point(to,p2))
338- return p1;
339- return p2;
340-}
341-#endif
342-
343332 G_INLINE_FUNC real distance_point_point_manhattan(const Point *p1,
344333 const Point *p2);
345334 #ifdef G_CAN_INLINE
--- a/objects/AADL/aadl.h
+++ b/objects/AADL/aadl.h
@@ -40,9 +40,6 @@
4040 #undef max
4141 #define max(a,b) (a>b?a:b)
4242
43-#define L1 printf("%d\n", __LINE__);
44-
45-
4643 /***********************************************
4744 ** CONSTANTS **
4845 ***********************************************/