From 788d43da8aa108567288f5643d7f0e5810ba46ad Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 4 Jan 2009 14:31:45 +0900 Subject: [PATCH] Convert Regression dialog to GtkBuilder --- src/ui/gui/automake.mk | 7 ++++--- src/ui/gui/regression-dialog.c | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/ui/gui/automake.mk b/src/ui/gui/automake.mk index ac303192..23deed95 100644 --- a/src/ui/gui/automake.mk +++ b/src/ui/gui/automake.mk @@ -71,7 +71,8 @@ nodist_src_ui_gui_psppire_DATA = \ $(top_srcdir)/src/ui/gui/message-dialog.ui \ $(top_srcdir)/src/ui/gui/oneway.ui \ $(top_srcdir)/src/ui/gui/rank.ui \ - $(top_srcdir)/src/ui/gui/recode.ui + $(top_srcdir)/src/ui/gui/recode.ui \ + $(top_srcdir)/src/ui/gui/regression.ui EXTRA_DIST += \ $(top_srcdir)/src/ui/gui/crosstabs.glade \ @@ -80,14 +81,14 @@ EXTRA_DIST += \ $(top_srcdir)/src/ui/gui/message-dialog.glade \ $(top_srcdir)/src/ui/gui/oneway.glade \ $(top_srcdir)/src/ui/gui/rank.glade \ - $(top_srcdir)/src/ui/gui/recode.glade + $(top_srcdir)/src/ui/gui/recode.glade \ + $(top_srcdir)/src/ui/gui/regression.glade dist_src_ui_gui_psppire_DATA = \ $(top_srcdir)/src/ui/gui/data-editor.glade \ $(top_srcdir)/src/ui/gui/descriptives-dialog.glade \ $(top_srcdir)/src/ui/gui/output-viewer.glade \ $(top_srcdir)/src/ui/gui/psppire.glade \ - $(top_srcdir)/src/ui/gui/regression.glade \ $(top_srcdir)/src/ui/gui/syntax-editor.glade \ $(top_srcdir)/src/ui/gui/text-data-import.glade \ $(top_srcdir)/src/ui/gui/t-test.glade \ diff --git a/src/ui/gui/regression-dialog.c b/src/ui/gui/regression-dialog.c index 4ee11fe9..3e0e0fbc 100644 --- a/src/ui/gui/regression-dialog.c +++ b/src/ui/gui/regression-dialog.c @@ -227,7 +227,7 @@ regression_dialog (GObject *o, gpointer data) struct regression_dialog rd; - GladeXML *xml = XML_NEW ("regression.glade"); + GtkBuilder *xml = builder_new ("regression.ui"); PsppireVarStore *vs; GtkWidget *dialog = get_widget_assert (xml, "regression-dialog"); -- 2.30.2