X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-data-store.c;h=fb89dfa20e928c68557a82186b63680e5601b84b;hb=698f289d1ecf1620aa5429599f2e76db23cff452;hp=f994474b5b81ac0a9ec5de06be3795933d6f7d99;hpb=674fde3ca5d316e3633de4dd64f897af27674243;p=pspp diff --git a/src/ui/gui/psppire-data-store.c b/src/ui/gui/psppire-data-store.c index f994474b5b..fb89dfa20e 100644 --- a/src/ui/gui/psppire-data-store.c +++ b/src/ui/gui/psppire-data-store.c @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2006, 2008, 2009, 2010 Free Software Foundation + Copyright (C) 2006, 2008, 2009, 2010, 2012 Free Software Foundation This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -239,7 +239,7 @@ psppire_data_store_get_case_count_wrapper (const PsppireSheetModel *model) static void psppire_data_store_init (PsppireDataStore *data_store) { - data_store->dict = 0; + data_store->dict = NULL; data_store->datasheet = NULL; data_store->dispose_has_run = FALSE; } @@ -301,8 +301,8 @@ psppire_data_store_sheet_model_init (PsppireSheetModelIface *iface) A callback which occurs after a variable has been deleted. */ static void -delete_variable_callback (GObject *obj, gint dict_index, - gint case_index, gint width, +delete_variable_callback (GObject *obj, const struct variable *var UNUSED, + gint dict_index, gint case_index, gpointer data) { PsppireDataStore *store = PSPPIRE_DATA_STORE (data);