Removed deprecated function calls from spreadsheet-test.c
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 3 Aug 2013 06:31:08 +0000 (08:31 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 3 Aug 2013 06:31:08 +0000 (08:31 +0200)
src/ui/gui/automake.mk
src/ui/gui/spreadsheet-test.c

index 2b3e2e399e0ce2672f4efbd84ebc90931913dfe4..283e8220da1807f526a9b05a5bbe4ee02456769e 100644 (file)
@@ -58,7 +58,7 @@ bin_PROGRAMS += src/ui/gui/psppire
 noinst_PROGRAMS += src/ui/gui/spreadsheet-test
 
 src_ui_gui_psppire_CFLAGS = $(GTK_CFLAGS) $(GTKSOURCEVIEW_CFLAGS) -Wall -DGDK_MULTIHEAD_SAFE=1 -DGDK_DISABLE_DEPRECATION_WARNINGS=1
-src_ui_gui_spreadsheet_test_CFLAGS = $(GTK_CFLAGS) -Wall -DGDK_MULTIHEAD_SAFE=1 -DGDK_DISABLE_DEPRECATION_WARNINGS=1
+src_ui_gui_spreadsheet_test_CFLAGS = $(GTK_CFLAGS) -Wall -DGDK_MULTIHEAD_SAFE=1 
 
 
 src_ui_gui_psppire_LDFLAGS = \
index bec577821a68076fc20831580b00ed1bf3739677..8c96ec96a886607beedc0a010be7837dc9e17ebb 100644 (file)
@@ -139,8 +139,8 @@ main (int argc, char *argv[] )
 
   tm = psppire_spreadsheet_model_new (stuff.sp);
   window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
-  hbox = gtk_hbox_new (FALSE, 5);
-  vbox = gtk_vbox_new (FALSE, 5);
+  hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 5);
+  vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 5);
 
   button = gtk_button_new_with_label ("Test reader");
   g_signal_connect (button, "clicked", G_CALLBACK (on_clicked), &stuff);