diff options
author | Milan Crha <mcrha@redhat.com> | 2010-12-21 22:00:15 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:13 +0800 |
commit | c3d6ab4b55699dfde141fc1c89e759bda14db38b (patch) | |
tree | 9f5fb384ec8786e1cdd83cacff6b12fdf14cfeb3 /widgets | |
parent | ea35907c16e6dae0a992306cd00cb02a472caa1f (diff) | |
download | gsoc2013-evolution-c3d6ab4b55699dfde141fc1c89e759bda14db38b.tar gsoc2013-evolution-c3d6ab4b55699dfde141fc1c89e759bda14db38b.tar.gz gsoc2013-evolution-c3d6ab4b55699dfde141fc1c89e759bda14db38b.tar.bz2 gsoc2013-evolution-c3d6ab4b55699dfde141fc1c89e759bda14db38b.tar.lz gsoc2013-evolution-c3d6ab4b55699dfde141fc1c89e759bda14db38b.tar.xz gsoc2013-evolution-c3d6ab4b55699dfde141fc1c89e759bda14db38b.tar.zst gsoc2013-evolution-c3d6ab4b55699dfde141fc1c89e759bda14db38b.zip |
Minor compiler warnings fix
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/table/e-table-field-chooser-item.c | 2 | ||||
-rw-r--r-- | widgets/table/e-table-header-item.c | 4 |
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; |