aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-text.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2004-06-10 23:29:15 +0800
committerRadek Doulik <rodo@src.gnome.org>2004-06-10 23:29:15 +0800
commit97adccec5d57a466b61896eeaeaae0272e8dfe76 (patch)
tree86e2c3df32eb5293ac2d011facb61e308e348c3f /widgets/table/e-cell-text.c
parent1b3d81c4fa0703f737b2956623886ec7f94cb9cd (diff)
downloadgsoc2013-evolution-97adccec5d57a466b61896eeaeaae0272e8dfe76.tar
gsoc2013-evolution-97adccec5d57a466b61896eeaeaae0272e8dfe76.tar.gz
gsoc2013-evolution-97adccec5d57a466b61896eeaeaae0272e8dfe76.tar.bz2
gsoc2013-evolution-97adccec5d57a466b61896eeaeaae0272e8dfe76.tar.lz
gsoc2013-evolution-97adccec5d57a466b61896eeaeaae0272e8dfe76.tar.xz
gsoc2013-evolution-97adccec5d57a466b61896eeaeaae0272e8dfe76.tar.zst
gsoc2013-evolution-97adccec5d57a466b61896eeaeaae0272e8dfe76.zip
fixes for compiler warnings
2004-06-10 Radek Doulik <rodo@ximian.com> * e-cell-text.c (layout_with_preedit): removed unused variable * e-tree.c (e_tree_get_item): added cast added #include <atk/atkregistry.h> * e-table-one.c (one_finalize): removed unused variable * e-table-item.c: added #include "gal/a11y/e-table/gal-a11y-e-table-item.h" for gal_a11y_e_table_item_factory_get_type prototype * e-table-header-utils.c (e_table_header_draw_button): removed unused variable * e-table-config.c (get_source_model_col_index): removed unused variable * e-table-click-to-add.c (finish_editing): added cast (etcta_event): ditto * e-cell-toggle.c: added #include "gal/a11y/e-table/gal-a11y-e-cell-registry.h" to have gal_a11y_e_cell_registry_add_cell_type prototype * e-cell-text.c (layout_with_preedit): removed unused variable (build_layout): ditto (ect_event): ditto (e_cell_text_commit_cb): ditto * e-cell-popup.c: added #include "gal/a11y/e-table/gal-a11y-e-cell-registry.h" to have gal_a11y_e_cell_registry_add_cell_type prototype svn path=/trunk/; revision=26284
Diffstat (limited to 'widgets/table/e-cell-text.c')
-rw-r--r--widgets/table/e-cell-text.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c
index 0b80b42534..ecb9117e1c 100644
--- a/widgets/table/e-cell-text.c
+++ b/widgets/table/e-cell-text.c
@@ -494,8 +494,6 @@ build_attr_list (ECellTextView *text_view, int row, int text_length)
static PangoLayout *
layout_with_preedit (ECellTextView *text_view, int row, const char *text, gint width)
{
- ECellView *ecell_view = (ECellView *) text_view;
- ECellText *ect = E_CELL_TEXT (ecell_view->ecell);
CellEdit *edit = text_view->edit;
PangoAttrList *attrs ;
PangoLayout *layout;
@@ -559,7 +557,6 @@ build_layout (ECellTextView *text_view, int row, const char *text, gint width)
ECellText *ect = E_CELL_TEXT (ecell_view->ecell);
PangoAttrList *attrs ;
PangoLayout *layout;
- gboolean bold, strikeout, underline;
layout = gtk_widget_create_pango_layout (GTK_WIDGET (((GnomeCanvasItem *)ecell_view->e_table_item_view)->canvas), text);
@@ -876,7 +873,6 @@ static gint
ect_event (ECellView *ecell_view, GdkEvent *event, int model_col, int view_col, int row, ECellFlags flags, ECellActions *actions)
{
ECellTextView *text_view = (ECellTextView *) ecell_view;
- ECellText *ect = (ECellText *) ((ECellView *)text_view)->ecell;
ETextEventProcessorEvent e_tep_event;
gboolean edit_display = FALSE;
gint preedit_len;
@@ -1784,7 +1780,6 @@ e_cell_text_commit_cb (GtkIMContext *context,
ECellTextView *tv)
{
CellEdit *edit = tv->edit;
- ECellText *ect = (ECellText *) ((ECellView *)tv)->ecell;
ETextEventProcessorCommand command;
if (g_utf8_validate (str, strlen (str), NULL)) {