[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] pspp lib/gtksheet/gtksheet.c src/ui/gui/val-lab...
From: |
John Darrington |
Subject: |
[Pspp-cvs] pspp lib/gtksheet/gtksheet.c src/ui/gui/val-lab... |
Date: |
Wed, 20 Feb 2008 23:14:11 +0000 |
CVSROOT: /sources/pspp
Module name: pspp
Changes by: John Darrington <jmd> 08/02/20 23:14:11
Modified files:
lib/gtksheet : gtksheet.c
src/ui/gui : val-labs-dialog.c
Log message:
Whitespace changes and remove unnecessary casts.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/lib/gtksheet/gtksheet.c?cvsroot=pspp&r1=1.36&r2=1.37
http://cvs.savannah.gnu.org/viewcvs/pspp/src/ui/gui/val-labs-dialog.c?cvsroot=pspp&r1=1.13&r2=1.14
Patches:
Index: lib/gtksheet/gtksheet.c
===================================================================
RCS file: /sources/pspp/pspp/lib/gtksheet/gtksheet.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- lib/gtksheet/gtksheet.c 20 Feb 2008 10:04:11 -0000 1.36
+++ lib/gtksheet/gtksheet.c 20 Feb 2008 23:14:10 -0000 1.37
@@ -5,7 +5,7 @@
* requirements of PSPPIRE. The changes are copyright by the
* Free Software Foundation. The copyright notice for the original work is
* below.
-*/
+ */
/* GtkSheet widget for Gtk+.
* Copyright (C) 1999-2001 Adrian E. Feiguin <address@hidden>
@@ -881,12 +881,12 @@
/* Properties */
enum
-{
+ {
PROP_0,
PROP_ROW_GEO,
PROP_COL_GEO,
PROP_MODEL
-};
+ };
static void
gtk_sheet_set_property (GObject *object,
@@ -3698,8 +3698,8 @@
if (row < 0 || col < 0) return;
- sheet->active_cell.row =- 1;
- sheet->active_cell.col =- 1;
+ sheet->active_cell.row = -1;
+ sheet->active_cell.col = -1;
text = gtk_entry_get_text (GTK_ENTRY (gtk_sheet_get_entry (sheet)));
@@ -4278,7 +4278,7 @@
gdk_gc_set_clip_rectangle (sheet->xor_gc, &area);
- for (i =- 1; i <= 1; ++i)
+ for (i = -1; i <= 1; ++i)
gdk_draw_rectangle (sheet->sheet_window,
sheet->xor_gc,
FALSE,
@@ -5464,8 +5464,8 @@
row_move = FALSE;
column_move = FALSE;
- row_align =- 1.;
- col_align =- 1.;
+ row_align = -1.;
+ col_align = -1.;
height = sheet->sheet_window_height;
width = sheet->sheet_window_width;
@@ -6966,7 +6966,7 @@
gdk_gc_set_clip_rectangle (sheet->xor_gc, &clip_area);
- for (i =- 1; i <= 1; ++i)
+ for (i = -1; i <= 1; ++i)
gdk_draw_rectangle (sheet->sheet_window,
sheet->xor_gc,
FALSE,
Index: src/ui/gui/val-labs-dialog.c
===================================================================
RCS file: /sources/pspp/pspp/src/ui/gui/val-labs-dialog.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- src/ui/gui/val-labs-dialog.c 11 Nov 2007 05:51:44 -0000 1.13
+++ src/ui/gui/val-labs-dialog.c 20 Feb 2008 23:14:10 -0000 1.14
@@ -396,39 +396,39 @@
gtk_tree_view_append_column (GTK_TREE_VIEW (dialog->treeview), column);
- g_signal_connect (GTK_OBJECT (get_widget_assert (xml, "val_labs_cancel")),
+ g_signal_connect (get_widget_assert (xml, "val_labs_cancel"),
"clicked",
GTK_SIGNAL_FUNC (on_cancel), dialog);
- g_signal_connect (GTK_OBJECT (dialog->window), "delete-event",
+ g_signal_connect (dialog->window, "delete-event",
GTK_SIGNAL_FUNC (on_delete), dialog);
- g_signal_connect (GTK_OBJECT (get_widget_assert (xml, "val_labs_ok")),
+ g_signal_connect (get_widget_assert (xml, "val_labs_ok"),
"clicked",
GTK_SIGNAL_FUNC (val_labs_ok), dialog);
dialog->change_handler_id =
- g_signal_connect (GTK_OBJECT (dialog->label_entry),
+ g_signal_connect (dialog->label_entry,
"changed",
GTK_SIGNAL_FUNC (on_label_entry_change), dialog);
dialog->value_handler_id =
- g_signal_connect (GTK_OBJECT (dialog->value_entry),
+ g_signal_connect (dialog->value_entry,
"changed",
GTK_SIGNAL_FUNC (on_value_entry_change), dialog);
- g_signal_connect (GTK_OBJECT (dialog->change_button),
+ g_signal_connect (dialog->change_button,
"clicked",
GTK_SIGNAL_FUNC (on_change), dialog);
- g_signal_connect (GTK_OBJECT (dialog->treeview), "cursor-changed",
+ g_signal_connect (dialog->treeview, "cursor-changed",
GTK_SIGNAL_FUNC (on_select_row), dialog);
- g_signal_connect (GTK_OBJECT (dialog->remove_button), "clicked",
+ g_signal_connect (dialog->remove_button, "clicked",
GTK_SIGNAL_FUNC (on_remove), dialog);
- g_signal_connect (GTK_OBJECT (dialog->add_button), "clicked",
+ g_signal_connect (dialog->add_button, "clicked",
GTK_SIGNAL_FUNC (on_add), dialog);
dialog->labs = 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-cvs] pspp lib/gtksheet/gtksheet.c src/ui/gui/val-lab...,
John Darrington <=