projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
bc02bc0
)
Fixed some warnings
author
John Darrington
<john@darrington.wattle.id.au>
Sun, 24 Dec 2006 23:02:33 +0000
(23:02 +0000)
committer
John Darrington
<john@darrington.wattle.id.au>
Sun, 24 Dec 2006 23:02:33 +0000
(23:02 +0000)
src/ui/gui/about.c
patch
|
blob
|
history
src/ui/gui/data-sheet.c
patch
|
blob
|
history
src/ui/gui/message-dialog.c
patch
|
blob
|
history
src/ui/gui/psppire.c
patch
|
blob
|
history
src/ui/gui/var-sheet.c
patch
|
blob
|
history
diff --git
a/src/ui/gui/about.c
b/src/ui/gui/about.c
index 258e96dfc14a0cacefd30a38e118fe68c76f484c..397ff5b827ed169f86fc723c7cb31f2becde6559 100644
(file)
--- a/
src/ui/gui/about.c
+++ b/
src/ui/gui/about.c
@@
-22,7
+22,8
@@
about_new (GtkMenuItem *m, GtkWindow *parent)
PKGDATADIR "/psppicon.png", 0);
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);
gtk_window_set_transient_for (GTK_WINDOW(about), parent);
diff --git
a/src/ui/gui/data-sheet.c
b/src/ui/gui/data-sheet.c
index 577b9551b9daf082b98aeb287acb6aeee5b52199..9a3c0c520062c0f5cfb941384133a748870d12d7 100644
(file)
--- a/
src/ui/gui/data-sheet.c
+++ b/
src/ui/gui/data-sheet.c
@@
-181,7
+181,7
@@
psppire_data_sheet_create (gchar *widget_name, gchar *string1, gchar *string2,
gtk_sheet_set_active_cell (GTK_SHEET(sheet), -1, -1);
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);
gtk_widget_show (sheet);
diff --git
a/src/ui/gui/message-dialog.c
b/src/ui/gui/message-dialog.c
index 9d3dc9bb7a86e9076364440464bc608250731027..9afbee5bd433486dd82bb729570de612e153739c 100644
(file)
--- a/
src/ui/gui/message-dialog.c
+++ b/
src/ui/gui/message-dialog.c
@@
-97,7
+97,6
@@
enqueue_msg (const struct msg *msg)
void
popup_message (const struct msg *m)
{
void
popup_message (const struct msg *m)
{
- GtkWindow *parent;
GtkWidget *dialog;
gint message_type;
GtkWidget *dialog;
gint message_type;
diff --git
a/src/ui/gui/psppire.c
b/src/ui/gui/psppire.c
index bae77e87b67056ea082bfe4de666d3ff397b90d0..218f9249b4596dd8d24a9271b14ff734e049eadb 100644
(file)
--- a/
src/ui/gui/psppire.c
+++ b/
src/ui/gui/psppire.c
@@
-88,10
+88,6
@@
main (int argc, char *argv[])
PsppireDict *dictionary = 0;
PsppireDict *dictionary = 0;
- GtkWidget *data_editor ;
- GtkSheet *var_sheet ;
- GtkSheet *data_sheet ;
-
gchar *filename=0;
GError *err = 0;
gchar *vers;
gchar *filename=0;
GError *err = 0;
gchar *vers;
diff --git
a/src/ui/gui/var-sheet.c
b/src/ui/gui/var-sheet.c
index 331f343b59e01769385602ad5ebc215204b4fb9c..7f14602b4159cf415ffa6feec1132cd0e0fae5e3 100644
(file)
--- a/
src/ui/gui/var-sheet.c
+++ b/
src/ui/gui/var-sheet.c
@@
-93,7
+93,7
@@
const gchar *const measures[n_MEASURES + 1]={
};
static GtkListStore *
};
static GtkListStore *
-create_label_list (const gchar **labels)
+create_label_list (const gchar *
const
*labels)
{
const gchar *s;
gint i = 0;
{
const gchar *s;
gint i = 0;
@@
-441,7
+441,7
@@
psppire_variable_sheet_create (gchar *widget_name,
GTK_SIGNAL_FUNC (traverse_cell_callback), 0);
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
/* Since this happens inside glade_xml_new, we must prevent strings from