pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] pspp/src/ui/gui about.c data-sheet.c message-di...


From: John Darrington
Subject: [Pspp-cvs] pspp/src/ui/gui about.c data-sheet.c message-di...
Date: Sun, 24 Dec 2006 23:02:33 +0000

CVSROOT:        /sources/pspp
Module name:    pspp
Changes by:     John Darrington <jmd>   06/12/24 23:02:33

Modified files:
        src/ui/gui     : about.c data-sheet.c message-dialog.c psppire.c 
                         var-sheet.c 

Log message:
        Fixed some warnings

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/src/ui/gui/about.c?cvsroot=pspp&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/pspp/src/ui/gui/data-sheet.c?cvsroot=pspp&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/pspp/src/ui/gui/message-dialog.c?cvsroot=pspp&r1=1.21&r2=1.22
http://cvs.savannah.gnu.org/viewcvs/pspp/src/ui/gui/psppire.c?cvsroot=pspp&r1=1.29&r2=1.30
http://cvs.savannah.gnu.org/viewcvs/pspp/src/ui/gui/var-sheet.c?cvsroot=pspp&r1=1.15&r2=1.16

Patches:
Index: about.c
===================================================================
RCS file: /sources/pspp/pspp/src/ui/gui/about.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- about.c     23 Dec 2006 09:03:45 -0000      1.1
+++ about.c     24 Dec 2006 23:02:33 -0000      1.2
@@ -22,7 +22,8 @@
                                 PKGDATADIR "/psppicon.png", 0);
 
 
-  gtk_about_dialog_set_authors (GTK_ABOUT_DIALOG (about), authors);
+  gtk_about_dialog_set_authors (GTK_ABOUT_DIALOG (about),
+                               (const gchar **) authors);
 
   gtk_window_set_transient_for (GTK_WINDOW(about), parent);
 

Index: data-sheet.c
===================================================================
RCS file: /sources/pspp/pspp/src/ui/gui/data-sheet.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- data-sheet.c        24 Dec 2006 22:49:18 -0000      1.16
+++ data-sheet.c        24 Dec 2006 23:02:33 -0000      1.17
@@ -181,7 +181,7 @@
   gtk_sheet_set_active_cell (GTK_SHEET(sheet), -1, -1);
 
 
-  gtk_sheet_set_model (sheet, G_SHEET_MODEL(the_data_store));
+  gtk_sheet_set_model (GTK_SHEET (sheet), G_SHEET_MODEL(the_data_store));
 
   gtk_widget_show (sheet);
 

Index: message-dialog.c
===================================================================
RCS file: /sources/pspp/pspp/src/ui/gui/message-dialog.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- message-dialog.c    24 Dec 2006 22:49:18 -0000      1.21
+++ message-dialog.c    24 Dec 2006 23:02:33 -0000      1.22
@@ -97,7 +97,6 @@
 void
 popup_message (const struct msg *m)
 {
-  GtkWindow *parent;
   GtkWidget *dialog;
 
   gint message_type;

Index: psppire.c
===================================================================
RCS file: /sources/pspp/pspp/src/ui/gui/psppire.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- psppire.c   24 Dec 2006 22:49:18 -0000      1.29
+++ psppire.c   24 Dec 2006 23:02:33 -0000      1.30
@@ -88,10 +88,6 @@
   PsppireDict *dictionary = 0;
 
 
-  GtkWidget *data_editor ;
-  GtkSheet *var_sheet ;
-  GtkSheet *data_sheet ;
-
   gchar *filename=0;
   GError *err = 0;
   gchar *vers;

Index: var-sheet.c
===================================================================
RCS file: /sources/pspp/pspp/src/ui/gui/var-sheet.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- var-sheet.c 24 Dec 2006 22:49:18 -0000      1.15
+++ var-sheet.c 24 Dec 2006 23:02:33 -0000      1.16
@@ -93,7 +93,7 @@
 };
 
 static GtkListStore *
-create_label_list (const gchar **labels)
+create_label_list (const gchar *const *labels)
 {
   const gchar *s;
   gint i = 0;
@@ -441,7 +441,7 @@
                    GTK_SIGNAL_FUNC (traverse_cell_callback), 0);
 
 
-  gtk_sheet_set_model (sheet, G_SHEET_MODEL(the_var_store));
+  gtk_sheet_set_model (GTK_SHEET (sheet), G_SHEET_MODEL(the_var_store));
 
 
   /* Since this happens inside glade_xml_new, we must prevent strings from




reply via email to

[Prev in Thread] Current Thread [Next in Thread]