aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-click-to-add.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-table-click-to-add.c
parent1b3d81c4fa0703f737b2956623886ec7f94cb9cd (diff)
downloadgsoc2013-evolution-97adccec5d57a466b61896eeaeaae0272e8dfe76.tar.gz
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-table-click-to-add.c')
-rw-r--r--widgets/table/e-table-click-to-add.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/widgets/table/e-table-click-to-add.c b/widgets/table/e-table-click-to-add.c
index 8fb151bc24..c02e3b8869 100644
--- a/widgets/table/e-table-click-to-add.c
+++ b/widgets/table/e-table-click-to-add.c
@@ -28,6 +28,7 @@
#include <libgnomecanvas/gnome-canvas-util.h>
#include <libgnomecanvas/gnome-canvas-rect-ellipse.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
+#include <atk/atkregistry.h>
#include "e-table-header.h"
#include "e-table-click-to-add.h"
@@ -312,7 +313,7 @@ finish_editing (ETableClickToAdd *etcta)
e_table_item_leave_edit (E_TABLE_ITEM (etcta->row));
e_table_one_commit(E_TABLE_ONE(etcta->one));
etcta_drop_one (etcta);
- gtk_object_destroy(etcta->row);
+ gtk_object_destroy(GTK_OBJECT (etcta->row));
etcta->row = NULL;
one = e_table_one_new(etcta->model);
@@ -354,11 +355,11 @@ etcta_event (GnomeCanvasItem *item, GdkEvent *e)
case GDK_BUTTON_PRESS:
if (etcta->text) {
- gtk_object_destroy(etcta->text);
+ gtk_object_destroy(GTK_OBJECT (etcta->text));
etcta->text = NULL;
}
if (etcta->rect) {
- gtk_object_destroy(etcta->rect);
+ gtk_object_destroy(GTK_OBJECT (etcta->rect));
etcta->rect = NULL;
}
if (!etcta->row) {
@@ -545,7 +546,7 @@ e_table_click_to_add_commit (ETableClickToAdd *etcta)
if (etcta->row) {
e_table_one_commit(E_TABLE_ONE(etcta->one));
etcta_drop_one (etcta);
- gtk_object_destroy(etcta->row);
+ gtk_object_destroy(GTK_OBJECT (etcta->row));
etcta->row = NULL;
}
if (!etcta->rect) {