aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-12-21 22:00:15 +0800
committerMilan Crha <mcrha@redhat.com>2010-12-21 22:00:15 +0800
commit74098399cc5fe7e07b32439952272101f86b8502 (patch)
tree6da97739462cc927f2a244ed60f04e1920f42e9a
parente605a2888b2e9a2d7aabd704941a669f26ad9e51 (diff)
downloadgsoc2013-evolution-74098399cc5fe7e07b32439952272101f86b8502.tar
gsoc2013-evolution-74098399cc5fe7e07b32439952272101f86b8502.tar.gz
gsoc2013-evolution-74098399cc5fe7e07b32439952272101f86b8502.tar.bz2
gsoc2013-evolution-74098399cc5fe7e07b32439952272101f86b8502.tar.lz
gsoc2013-evolution-74098399cc5fe7e07b32439952272101f86b8502.tar.xz
gsoc2013-evolution-74098399cc5fe7e07b32439952272101f86b8502.tar.zst
gsoc2013-evolution-74098399cc5fe7e07b32439952272101f86b8502.zip
Minor compiler warnings fix
-rw-r--r--widgets/table/e-table-field-chooser-item.c2
-rw-r--r--widgets/table/e-table-header-item.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/widgets/table/e-table-field-chooser-item.c b/widgets/table/e-table-field-chooser-item.c
index 02c86b8136..880731e5be 100644
--- a/widgets/table/e-table-field-chooser-item.c
+++ b/widgets/table/e-table-field-chooser-item.c
@@ -572,7 +572,7 @@ etfci_start_drag (ETableFieldChooserItem *etfci, GdkEvent *event, gdouble x, gdo
d(g_print ("etfci - %s\n", etfci_drag_types[0].target));
list = gtk_target_list_new (etfci_drag_types, G_N_ELEMENTS (etfci_drag_types));
context = gtk_drag_begin (widget, list, GDK_ACTION_MOVE, 1, event);
- g_free (etfci_drag_types[0].target);
+ g_free ((gpointer) etfci_drag_types[0].target);
button_height = e_table_header_compute_height (ecol, widget);
window = gtk_widget_get_window (widget);
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c
index 28d53ce971..7fda0066af 100644
--- a/widgets/table/e-table-header-item.c
+++ b/widgets/table/e-table-header-item.c
@@ -929,7 +929,7 @@ ethi_realize (GnomeCanvasItem *item)
gtk_drag_dest_set (
GTK_WIDGET (item->canvas), 0, ethi_drop_types,
G_N_ELEMENTS (ethi_drop_types), GDK_ACTION_MOVE);
- g_free (ethi_drop_types[0].target);
+ g_free ((gpointer) ethi_drop_types[0].target);
/* Drop signals */
ethi->drag_motion_id = g_signal_connect (item->canvas, "drag_motion",
@@ -1235,7 +1235,7 @@ ethi_start_drag (ETableHeaderItem *ethi, GdkEvent *event)
list = gtk_target_list_new (
ethi_drag_types, G_N_ELEMENTS (ethi_drag_types));
context = gtk_drag_begin (widget, list, GDK_ACTION_MOVE, 1, event);
- g_free (ethi_drag_types[0].target);
+ g_free ((gpointer) ethi_drag_types[0].target);
ecol = e_table_header_get_column (ethi->eth, ethi->drag_col);
col_width = ecol->width;