[gimp-tiny-fu] Removed dead code (GIMP commit 1339b5cd by Sven Neumann)



commit bd8008074ea71554038c3e98c1925e475df412ad
Author: Kevin Cozens <kcozens svn gnome org>
Date:   Wed Nov 9 16:01:56 2011 -0500

    Removed dead code (GIMP commit 1339b5cd by Sven Neumann)

 ftx/ftx.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/ftx/ftx.c b/ftx/ftx.c
index 826a197..b61fbe8 100644
--- a/ftx/ftx.c
+++ b/ftx/ftx.c
@@ -251,16 +251,8 @@ pointer foreign_time(scheme *sc, pointer args)
   if (args != sc->NIL)
     return sc->F;
 
-#if 1
   time(&now);
   now_tm = localtime(&now);
-#else
-GTime time;
-GDate date;
-
-  g_date_set_time(&date, &now);
-  g_date_to_struct_tm(&now, &now_tm);
-#endif
 
   ret = sc->vptr->cons(sc, sc->vptr->mk_integer(sc,(long) now_tm->tm_year),
          sc->vptr->cons(sc, sc->vptr->mk_integer(sc,(long) now_tm->tm_mon),



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