[gnumeric] Compilation: fix warning.



commit 02645203869a88518e6b139e39566f6fcbf2e160
Author: Morten Welinder <terra gnome org>
Date:   Wed Mar 4 19:14:06 2015 -0500

    Compilation: fix warning.

 src/wbc-gtk-edit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/wbc-gtk-edit.c b/src/wbc-gtk-edit.c
index 322e782..f317a0b 100644
--- a/src/wbc-gtk-edit.c
+++ b/src/wbc-gtk-edit.c
@@ -965,7 +965,7 @@ wbcg_edit_start (WBCGtk *wbcg,
        if (cursorp && /* autocompletion code will not work in the edit line */
            wbv->do_auto_completion &&
            (text == NULL || g_unichar_isalpha (g_utf8_get_char (text)))) {
-               wbcg->auto_complete = (GObject *)gnm_complete_sheet_new (
+               wbcg->auto_complete = gnm_complete_sheet_new (
                        sv->sheet, col, row,
                        workbook_edit_complete_notify, wbcg);
                wbcg->auto_completing = TRUE;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]