aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2008-10-06 17:48:25 +0800
committerSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2008-10-06 17:48:25 +0800
commit6c87a6a872f1aa5dfc3ed463a4254916361fbbd1 (patch)
tree21815eb8685cb9fbc3effb5850f2eb9c2a95e779 /widgets
parent40b56885e46dd3a1ff267193d228fa8fedaaffb1 (diff)
downloadgsoc2013-evolution-6c87a6a872f1aa5dfc3ed463a4254916361fbbd1.tar
gsoc2013-evolution-6c87a6a872f1aa5dfc3ed463a4254916361fbbd1.tar.gz
gsoc2013-evolution-6c87a6a872f1aa5dfc3ed463a4254916361fbbd1.tar.bz2
gsoc2013-evolution-6c87a6a872f1aa5dfc3ed463a4254916361fbbd1.tar.lz
gsoc2013-evolution-6c87a6a872f1aa5dfc3ed463a4254916361fbbd1.tar.xz
gsoc2013-evolution-6c87a6a872f1aa5dfc3ed463a4254916361fbbd1.tar.zst
gsoc2013-evolution-6c87a6a872f1aa5dfc3ed463a4254916361fbbd1.zip
Removed obsolete files.
svn path=/trunk/; revision=36565
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/ChangeLog6
-rw-r--r--widgets/table/e-cell-float.c92
-rw-r--r--widgets/table/e-cell-float.h54
3 files changed, 6 insertions, 146 deletions
diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog
index c14f484cfe..c7eca467ea 100644
--- a/widgets/table/ChangeLog
+++ b/widgets/table/ChangeLog
@@ -1,3 +1,9 @@
+2008-10-06 Sankar P <psankar@novell.com>
+
+ * e-cell-float.c:
+ * e-cell-float.h:
+ Remove obsolete files
+
2008-10-03 Sankar P <psankar@novell.com>
License Changes And:
diff --git a/widgets/table/e-cell-float.c b/widgets/table/e-cell-float.c
deleted file mode 100644
index 8befd842f9..0000000000
--- a/widgets/table/e-cell-float.c
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
- * e-cell-float.c - Float item for e-table.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) version 3.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with the program; if not, see <http://www.gnu.org/licenses/>
- *
- *
- * Authors:
- * Mikael Hallendal <micke@imendio.com>
- *
- * Derived from e-cell-number by Chris Lahey <clahey@ximian.com>
- * ECellFloat - Float item for e-table.
- *
- * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
- *
- */
-
-#include <config.h>
-
-#include <sys/time.h>
-#include <unistd.h>
-
-#include <glib/gi18n.h>
-#include "e-util/e-util.h"
-
-#include "e-cell-float.h"
-
-G_DEFINE_TYPE (ECellFloat, e_cell_float, E_CELL_TEXT_TYPE)
-
-static char *
-ecf_get_text(ECellText *cell, ETableModel *model, int col, int row)
-{
- gfloat *fvalue;
-
- fvalue = e_table_model_value_at (model, col, row);
-
- return e_format_number_float (*fvalue);
-}
-
-static void
-ecf_free_text(ECellText *cell, char *text)
-{
- g_free(text);
-}
-
-static void
-e_cell_float_class_init (ECellFloatClass *klass)
-{
- ECellTextClass *ectc = E_CELL_TEXT_CLASS (klass);
-
- ectc->get_text = ecf_get_text;
- ectc->free_text = ecf_free_text;
-}
-
-static void
-e_cell_float_init (ECellFloat *cell_float)
-{
-}
-
-/**
- * e_cell_float_new:
- * @fontname: font to be used to render on the screen
- * @justify: Justification of the string in the cell.
- *
- * Creates a new ECell renderer that can be used to render floats that
- * that come from the model. The value returned from the model is
- * interpreted as being an int.
- *
- * See ECellText for other features.
- *
- * Returns: an ECell object that can be used to render floats.
- */
-ECell *
-e_cell_float_new (const char *fontname, GtkJustification justify)
-{
- ECellFloat *ecn = g_object_new (E_CELL_FLOAT_TYPE, NULL);
-
- e_cell_text_construct(E_CELL_TEXT(ecn), fontname, justify);
-
- return (ECell *) ecn;
-}
-
diff --git a/widgets/table/e-cell-float.h b/widgets/table/e-cell-float.h
deleted file mode 100644
index 52898a0922..0000000000
--- a/widgets/table/e-cell-float.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * e-cell-float.h - Float item for e-table.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) version 3.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with the program; if not, see <http://www.gnu.org/licenses/>
- *
- *
- * Authors:
- * Mikael Hallendal <micke@imendio.com>
- *
- * Derived from e-cell-number by Chris Lahey <clahey@ximian.com>
- * ECellFloat - Float item for e-table.
- *
- * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
- *
- */
-
-#ifndef _E_CELL_FLOAT_H_
-#define _E_CELL_FLOAT_H_
-
-#include <table/e-cell-text.h>
-
-G_BEGIN_DECLS
-
-#define E_CELL_FLOAT_TYPE (e_cell_float_get_type ())
-#define E_CELL_FLOAT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), E_CELL_FLOAT_TYPE, ECellFloat))
-#define E_CELL_FLOAT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), E_CELL_FLOAT_TYPE, ECellFloatClass))
-#define E_IS_CELL_FLOAT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), E_CELL_FLOAT_TYPE))
-#define E_IS_CELL_FLOAT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), E_CELL_FLOAT_TYPE))
-
-typedef struct {
- ECellText base;
-} ECellFloat;
-
-typedef struct {
- ECellTextClass parent_class;
-} ECellFloatClass;
-
-GType e_cell_float_get_type (void);
-ECell *e_cell_float_new (const char *fontname, GtkJustification justify);
-
-G_END_DECLS
-
-#endif /* _E_CELL_FLOAT_H_ */