X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=lib%2Fgtksheet%2Fgsheet-uniform-column.c;h=ff7ba574a928bc8259754466255592d43355399b;hb=ea16e1238bfd173fcf5650ddfba180f1c8e1db30;hp=6822fa3606b684cf00a371c53853317c383a9cba;hpb=e294a372f351d7105c21a2db58022af8b119aa64;p=pspp-builds.git diff --git a/lib/gtksheet/gsheet-uniform-column.c b/lib/gtksheet/gsheet-uniform-column.c index 6822fa36..ff7ba574 100644 --- a/lib/gtksheet/gsheet-uniform-column.c +++ b/lib/gtksheet/gsheet-uniform-column.c @@ -2,7 +2,6 @@ * * PSPPIRE --- A Graphical User Interface for PSPP * Copyright (C) 2006 Free Software Foundation - * Written by John Darrington * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -19,6 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include + #include "gsheet-column-iface.h" #include "gsheet-uniform-column.h" @@ -96,7 +97,7 @@ g_sheet_uniform_column_new (gint width, gint n_columns) } static gint -g_sheet_uniform_column_get_width(const GSheetColumn *geom, gint u, gpointer data) +g_sheet_uniform_column_get_width(const GSheetColumn *geom, gint u) { GSheetUniformColumn *ug = G_SHEET_UNIFORM_COLUMN(geom); @@ -104,7 +105,7 @@ g_sheet_uniform_column_get_width(const GSheetColumn *geom, gint u, gpointer data } static gint -g_sheet_uniform_column_get_sensitivity(const GSheetColumn *geom, gint u, gpointer data) +g_sheet_uniform_column_get_sensitivity(const GSheetColumn *geom, gint u) { GSheetUniformColumn *ug = G_SHEET_UNIFORM_COLUMN(geom); @@ -113,7 +114,7 @@ g_sheet_uniform_column_get_sensitivity(const GSheetColumn *geom, gint u, gpointe static gint -g_sheet_uniform_column_get_visibility(const GSheetColumn *geom, gint u, gpointer data) +g_sheet_uniform_column_get_visibility(const GSheetColumn *geom, gint u) { GSheetUniformColumn *ug = G_SHEET_UNIFORM_COLUMN(geom); @@ -122,7 +123,7 @@ g_sheet_uniform_column_get_visibility(const GSheetColumn *geom, gint u, gpointer static gchar * -g_sheet_uniform_column_get_button_label(const GSheetColumn *geom, gint u, gpointer data) +g_sheet_uniform_column_get_button_label(const GSheetColumn *geom, gint u) { gchar *label = g_strdup_printf("%d", u); @@ -131,7 +132,7 @@ g_sheet_uniform_column_get_button_label(const GSheetColumn *geom, gint u, gpoint static GtkJustification -g_sheet_uniform_column_get_justification(const GSheetColumn *geom, gint u, gpointer data) +g_sheet_uniform_column_get_justification(const GSheetColumn *geom, gint u) { return GTK_JUSTIFY_FILL; } @@ -139,7 +140,7 @@ g_sheet_uniform_column_get_justification(const GSheetColumn *geom, gint u, gpoin static gint -g_sheet_uniform_column_get_column_count(const GSheetColumn *geom, gpointer data) +g_sheet_uniform_column_get_column_count(const GSheetColumn *geom) { GSheetUniformColumn *ug = G_SHEET_UNIFORM_COLUMN(geom);