From 32680e29683e685117eaeda0dd40ebe557f84336 Mon Sep 17 00:00:00 2001 From: Friedrich Beckmann Date: Thu, 28 May 2015 23:47:28 +0200 Subject: [PATCH] removed references to psppire-dialog orientation property --- src/ui/gui/missing-val-dialog.c | 3 +-- src/ui/gui/psppire-dialog.c | 2 +- src/ui/gui/psppire-dialog.h | 11 +---------- src/ui/gui/val-labs-dialog.c | 3 +-- src/ui/gui/var-type-dialog.c | 3 +-- 5 files changed, 5 insertions(+), 17 deletions(-) diff --git a/src/ui/gui/missing-val-dialog.c b/src/ui/gui/missing-val-dialog.c index 83dd338cee..2d38442466 100644 --- a/src/ui/gui/missing-val-dialog.c +++ b/src/ui/gui/missing-val-dialog.c @@ -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)); } diff --git a/src/ui/gui/psppire-dialog.c b/src/ui/gui/psppire-dialog.c index f3703993b5..b006222a61 100644 --- a/src/ui/gui/psppire-dialog.c +++ b/src/ui/gui/psppire-dialog.c @@ -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); diff --git a/src/ui/gui/psppire-dialog.h b/src/ui/gui/psppire-dialog.h index c7d3c230e4..29381261bf 100644 --- a/src/ui/gui/psppire-dialog.h +++ b/src/ui/gui/psppire-dialog.h @@ -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; diff --git a/src/ui/gui/val-labs-dialog.c b/src/ui/gui/val-labs-dialog.c index 588bc42601..0d1c757e82 100644 --- a/src/ui/gui/val-labs-dialog.c +++ b/src/ui/gui/val-labs-dialog.c @@ -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)); } diff --git a/src/ui/gui/var-type-dialog.c b/src/ui/gui/var-type-dialog.c index 63f73a9114..7f1d4aeccd 100644 --- a/src/ui/gui/var-type-dialog.c +++ b/src/ui/gui/var-type-dialog.c @@ -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)); } -- 2.30.2