[gimp] script-fu: remove dead code
- From: Sven Neumann <neo src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] script-fu: remove dead code
- Date: Mon, 9 Nov 2009 18:03:46 +0000 (UTC)
commit 1339b5cd8737075b961c3c805089d833faf2114a
Author: Sven Neumann <sven gimp org>
Date: Mon Nov 9 19:03:03 2009 +0100
script-fu: remove dead code
Remove commented-out code that caused a false positive when
searching for deprecated GLib symbols.
plug-ins/script-fu/ftx/ftx.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/plug-ins/script-fu/ftx/ftx.c b/plug-ins/script-fu/ftx/ftx.c
index 475393d..0f67815 100644
--- a/plug-ins/script-fu/ftx/ftx.c
+++ b/plug-ins/script-fu/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]