removed references to psppire-dialog orientation property
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Thu, 28 May 2015 21:47:28 +0000 (23:47 +0200)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Thu, 28 May 2015 21:47:28 +0000 (23:47 +0200)
src/ui/gui/missing-val-dialog.c
src/ui/gui/psppire-dialog.c
src/ui/gui/psppire-dialog.h
src/ui/gui/val-labs-dialog.c
src/ui/gui/var-type-dialog.c

index 83dd338cee255678d9a6ac50c3764cb9b0bc256f..2d38442466b558ebec23e3a97b4d511a8f02ed81 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPPIRE - a graphical user interface for PSPP.
-   Copyright (C) 2005, 2006, 2009, 2011, 2012  Free Software Foundation
+   Copyright (C) 2005, 2006, 2009, 2011, 2012, 2015  Free Software Foundation
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -147,7 +147,6 @@ psppire_missing_val_dialog_new (const struct variable *var)
 {
   return PSPPIRE_MISSING_VAL_DIALOG (
     g_object_new (PSPPIRE_TYPE_MISSING_VAL_DIALOG,
-                  "orientation", PSPPIRE_VERTICAL,
                   "variable", var,
                   NULL));
 }
index f3703993b5bbb59e0e64483c69871a732adce7aa..b006222a6199495a44eb29aecc0eb1409581161c 100644 (file)
@@ -424,7 +424,7 @@ psppire_dialog_run (PsppireDialog *dialog)
     g_warning ("PsppireDialog %s has no title", gtk_widget_get_name (GTK_WIDGET (dialog)));
   
   if ( dialog->contents_are_valid != NULL )
-    gtk_container_foreach (gtk_bin_get_child(GTK_BIN(dialog)),
+    gtk_container_foreach (GTK_CONTAINER (gtk_bin_get_child(GTK_BIN(dialog))),
                           connect_notify_signal,
                           dialog);
 
index c7d3c230e40aa7d0662497466b7a77b99977ae6f..29381261bf4c134c5b7ba062b841c1bc4f42776e 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPPIRE - a graphical user interface for PSPP.
-   Copyright (C) 2007, 2010, 2011, 2012  Free Software Foundation
+   Copyright (C) 2007, 2010, 2011, 2012, 2015  Free Software Foundation
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -43,15 +43,6 @@ typedef struct _PsppireDialogClass  PsppireDialogClass;
 
 typedef gboolean (*ContentsAreValid) (gpointer);
 
-typedef enum
-  {
-    PSPPIRE_HORIZONTAL,
-    PSPPIRE_VERTICAL,
-    PSPPIRE_TABULAR
-  } PsppireOrientation;
-
-
-
 struct _PsppireDialog
 {
   PsppireWindowBase window;
index 588bc42601ca36230cca470a8395d996dc698a46..0d1c757e82535598a5be177e2d3c7e5bbbe5a5dd 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPPIRE - a graphical user interface for PSPP.
-   Copyright (C) 2005, 2009, 2010, 2011, 2012  Free Software Foundation
+   Copyright (C) 2005, 2009, 2010, 2011, 2012, 2015  Free Software Foundation
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -142,7 +142,6 @@ psppire_val_labs_dialog_new (const struct variable *var)
 {
   return PSPPIRE_VAL_LABS_DIALOG (
     g_object_new (PSPPIRE_TYPE_VAL_LABS_DIALOG,
-                  "orientation", PSPPIRE_HORIZONTAL,
                   "variable", var,
                   NULL));
 }
index 63f73a9114dd0fd32479298a20a02a7e4c6e80df..7f1d4aeccdc6e187332045965438a54f537f2170 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPPIRE - a graphical user interface for PSPP.
-    Copyright (C) 2005, 2006, 2010, 2011, 2012  Free Software Foundation
+    Copyright (C) 2005, 2006, 2010, 2011, 2012, 2015  Free Software Foundation
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -197,7 +197,6 @@ psppire_var_type_dialog_new (const struct fmt_spec *format)
 {
   return PSPPIRE_VAR_TYPE_DIALOG (
     g_object_new (PSPPIRE_TYPE_VAR_TYPE_DIALOG,
-                  "orientation", PSPPIRE_HORIZONTAL,
                   "format", format,
                   NULL));
 }