* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-static guint
-g_sheet_uniform_row_pixel_to_row(GSheetRow *geo,
- gint pixel, const GtkSheet *sheet)
+static glong
+g_sheet_uniform_row_pixel_to_row (const GSheetRow *geo, guint pixel)
{
GSheetUniformRow *ug = G_SHEET_UNIFORM_ROW(geo);
gint row = pixel / ug->height;
if (row >= g_sheet_uniform_row_get_row_count(geo))
{
GSheetUniformRow *ug = G_SHEET_UNIFORM_ROW(geo);
gint row = pixel / ug->height;
if (row >= g_sheet_uniform_row_get_row_count(geo))
{
iface->get_height = g_sheet_uniform_row_get_height;
iface->get_sensitivity = g_sheet_uniform_row_get_sensitivity ;
{
iface->get_height = g_sheet_uniform_row_get_height;
iface->get_sensitivity = g_sheet_uniform_row_get_sensitivity ;
iface->get_row_count = g_sheet_uniform_row_get_row_count;
iface->get_button_label = g_sheet_uniform_row_get_button_label;
iface->top_ypixel = g_sheet_uniform_row_top_ypixel;
iface->get_row_count = g_sheet_uniform_row_get_row_count;
iface->get_button_label = g_sheet_uniform_row_get_button_label;
iface->top_ypixel = g_sheet_uniform_row_top_ypixel;