[Evolution-hackers] Question about "MODEL_CELL_CHANGED" signal of ETableModel



Hi,
    I'm using "MODEL_CELL_CHANGED" signal in the a11y implementation of e-table. But I got confused about the prototype of the "MODEL_CELL_CHANGED" singal's handler.

Accordind to e-table-model.[h,c], it should be  (ETableModel *etm, int col, int row);
e-table-model.h:
        void        (*model_cell_changed)  (ETableModel *etm, int col, int row);
e-table-model.c:512:
        g_signal_emit (G_OBJECT (e_table_model),
                       e_table_model_signals [MODEL_CELL_CHANGED], 0, col, row);

But some other sources use (ETableModel *etm, int row, int col) as the prototype, eg.:
e-table-subset.c:366:
etss_proxy_model_cell_changed (ETableModel *etm, int row, int col, ETableSubset *etss)
gal-a11y-e-cell-toggle.c:102
model_change_cb (ETableModel *etm,
		 gint row,
		 gint col,
		 GalA11yECell *cell)

It seems that the last two cases are wrong, aren't they?

Thanks!
Eric

-- 
Eric Zhao <eric zhao sun com>

Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3225516
Key fingerprint = EA12 D205 D359 A98D E63E  CAC3 C2A7 30B1 E322 5516


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