From: John Darrington Date: Thu, 27 Nov 2008 00:59:27 +0000 (+0900) Subject: Remove [hv]geo arguments to gtksheet which no longer do anything X-Git-Tag: v0.7.1~107^2~4 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4d675f9a6e8ba71cfaf8522dc7eda9c1a1fc2aa;p=pspp-builds.git Remove [hv]geo arguments to gtksheet which no longer do anything --- diff --git a/lib/gtksheet/gtksheet.c b/lib/gtksheet/gtksheet.c index 45ee30d7..9364b6e5 100644 --- a/lib/gtksheet/gtksheet.c +++ b/lib/gtksheet/gtksheet.c @@ -1210,7 +1210,7 @@ range_update_callback (GSheetModel *m, gint row0, gint col0, * Returns: the new sheet widget */ GtkWidget * -gtk_sheet_new (void *vgeo, void *hgeo, GSheetModel *model) +gtk_sheet_new (GSheetModel *model) { GtkWidget *widget = g_object_new (GTK_TYPE_SHEET, "model", model, diff --git a/lib/gtksheet/gtksheet.h b/lib/gtksheet/gtksheet.h index ba2294f8..d79ebac2 100644 --- a/lib/gtksheet/gtksheet.h +++ b/lib/gtksheet/gtksheet.h @@ -229,14 +229,12 @@ GtkType gtk_sheet_range_get_type (void); /* create a new sheet */ -GtkWidget * gtk_sheet_new (void *vgeo, void *hgeo, - GSheetModel *model); +GtkWidget * gtk_sheet_new (GSheetModel *model); /* create a new sheet with custom entry */ GtkWidget * -gtk_sheet_new_with_custom_entry (void *vgeo, - void *hgeo, - GtkType entry_type); +gtk_sheet_new_with_custom_entry (GtkType entry_type); + /* Change entry */ void gtk_sheet_change_entry (GtkSheet *sheet, GtkType entry_type); diff --git a/src/ui/gui/psppire-data-editor.c b/src/ui/gui/psppire-data-editor.c index c1908387..e08f414d 100644 --- a/src/ui/gui/psppire-data-editor.c +++ b/src/ui/gui/psppire-data-editor.c @@ -735,7 +735,7 @@ init_sheet (PsppireDataEditor *de, int i, PsppireAxisUniform *vaxis = psppire_axis_uniform_new (); de->sheet_bin[i] = gtk_scrolled_window_new (hadj, vadj); - de->data_sheet[i] = gtk_sheet_new (NULL, NULL, NULL); + de->data_sheet[i] = gtk_sheet_new (NULL); g_object_set (de->sheet_bin[i], "border-width", 3,