projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a4a503e
)
Convert psppire.glade to psppire.ui
author
John Darrington
<john@darrington.wattle.id.au>
Sun, 4 Jan 2009 06:48:59 +0000
(15:48 +0900)
committer
John Darrington
<john@darrington.wattle.id.au>
Sun, 4 Jan 2009 06:48:59 +0000
(15:48 +0900)
17 files changed:
src/ui/gui/about.c
patch
|
blob
|
history
src/ui/gui/automake.mk
patch
|
blob
|
history
src/ui/gui/comments-dialog.c
patch
|
blob
|
history
src/ui/gui/compute-dialog.c
patch
|
blob
|
history
src/ui/gui/find-dialog.c
patch
|
blob
|
history
src/ui/gui/goto-case-dialog.c
patch
|
blob
|
history
src/ui/gui/message-dialog.c
patch
|
blob
|
history
src/ui/gui/psppire-dialog.c
patch
|
blob
|
history
src/ui/gui/select-cases-dialog.c
patch
|
blob
|
history
src/ui/gui/select-cases-dialog.h
patch
|
blob
|
history
src/ui/gui/sort-cases-dialog.c
patch
|
blob
|
history
src/ui/gui/split-file-dialog.c
patch
|
blob
|
history
src/ui/gui/t-test-options.c
patch
|
blob
|
history
src/ui/gui/t-test-options.h
patch
|
blob
|
history
src/ui/gui/transpose-dialog.c
patch
|
blob
|
history
src/ui/gui/variable-info-dialog.c
patch
|
blob
|
history
src/ui/gui/weight-cases-dialog.c
patch
|
blob
|
history
diff --git
a/src/ui/gui/about.c
b/src/ui/gui/about.c
index e743fcf61dbfa7b8128c277b7c59e32dd4c49e9c..23ae5b0679077e3538df11e569277980ade964c4 100644
(file)
--- a/
src/ui/gui/about.c
+++ b/
src/ui/gui/about.c
@@
-18,7
+18,6
@@
#include <config.h>
#include <gtk/gtk.h>
#include <config.h>
#include <gtk/gtk.h>
-#include <glade/glade.h>
#include <libpspp/copyleft.h>
#include <libpspp/version.h>
#include <libpspp/copyleft.h>
#include <libpspp/version.h>
@@
-31,7
+30,7
@@
const static gchar *artists[] = { "Patrick Brunier", "Dondi Bogusky", NULL};
void
about_new (GtkMenuItem *m, GtkWindow *parent)
{
void
about_new (GtkMenuItem *m, GtkWindow *parent)
{
- G
ladeXML *xml = XML_NEW ("psppire.glade
");
+ G
tkBuilder *xml = builder_new ("psppire.ui
");
GtkWidget *about = get_widget_assert (xml, "aboutdialog1");
GtkWidget *about = get_widget_assert (xml, "aboutdialog1");
diff --git
a/src/ui/gui/automake.mk
b/src/ui/gui/automake.mk
index d043b1a450c317d370caac2c5fab38db308150c5..4e561ab0418bc258526c6138a29d2a0b4039c9a4 100644
(file)
--- a/
src/ui/gui/automake.mk
+++ b/
src/ui/gui/automake.mk
@@
-69,6
+69,7
@@
nodist_src_ui_gui_psppire_DATA = \
$(top_srcdir)/src/ui/gui/examine.ui \
$(top_srcdir)/src/ui/gui/frequencies.ui \
$(top_srcdir)/src/ui/gui/message-dialog.ui \
$(top_srcdir)/src/ui/gui/examine.ui \
$(top_srcdir)/src/ui/gui/frequencies.ui \
$(top_srcdir)/src/ui/gui/message-dialog.ui \
+ $(top_srcdir)/src/ui/gui/psppire.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/oneway.ui \
$(top_srcdir)/src/ui/gui/rank.ui \
$(top_srcdir)/src/ui/gui/recode.ui \
@@
-80,6
+81,7
@@
EXTRA_DIST += \
$(top_srcdir)/src/ui/gui/examine.glade \
$(top_srcdir)/src/ui/gui/frequencies.glade \
$(top_srcdir)/src/ui/gui/message-dialog.glade \
$(top_srcdir)/src/ui/gui/examine.glade \
$(top_srcdir)/src/ui/gui/frequencies.glade \
$(top_srcdir)/src/ui/gui/message-dialog.glade \
+ $(top_srcdir)/src/ui/gui/psppire.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/oneway.glade \
$(top_srcdir)/src/ui/gui/rank.glade \
$(top_srcdir)/src/ui/gui/recode.glade \
@@
-90,7
+92,6
@@
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/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/syntax-editor.glade \
$(top_srcdir)/src/ui/gui/text-data-import.glade \
$(top_srcdir)/src/ui/gui/psppicon.png \
$(top_srcdir)/src/ui/gui/syntax-editor.glade \
$(top_srcdir)/src/ui/gui/text-data-import.glade \
$(top_srcdir)/src/ui/gui/psppicon.png \
diff --git
a/src/ui/gui/comments-dialog.c
b/src/ui/gui/comments-dialog.c
index f1a4936e6de06e9df95abcff13966f09faa8705e..f425fac2364d2d285429b6fdd48a4db9485d2b8d 100644
(file)
--- a/
src/ui/gui/comments-dialog.c
+++ b/
src/ui/gui/comments-dialog.c
@@
-29,7
+29,6
@@
#include "dialog-common.h"
#include <gtk/gtk.h>
#include "dialog-common.h"
#include <gtk/gtk.h>
-#include <glade/glade.h>
#include <gettext.h>
#include <gettext.h>
@@
-39,7
+38,7
@@
struct comment_dialog
{
struct comment_dialog
{
- G
ladeXML
*xml;
+ G
tkBuilder
*xml;
PsppireDict *dict;
};
PsppireDict *dict;
};
@@
-98,7
+97,7
@@
comments_dialog (GObject *o, gpointer data)
struct data_editor *de = data;
struct comment_dialog cd;
struct data_editor *de = data;
struct comment_dialog cd;
- G
ladeXML *xml = XML_NEW ("psppire.glade
");
+ G
tkBuilder *xml = builder_new ("psppire.ui
");
GtkWidget *dialog = get_widget_assert (xml, "comments-dialog");
GtkWidget *textview = get_widget_assert (xml, "comments-textview1");
GtkWidget *dialog = get_widget_assert (xml, "comments-dialog");
GtkWidget *textview = get_widget_assert (xml, "comments-textview1");
diff --git
a/src/ui/gui/compute-dialog.c
b/src/ui/gui/compute-dialog.c
index 5d40d21639bbe68fd9d06d6ea35dd9f50fba4a40..e868d3cb8a687edabd74b4e88fd29854ee59bc48 100644
(file)
--- a/
src/ui/gui/compute-dialog.c
+++ b/
src/ui/gui/compute-dialog.c
@@
-47,7
+47,7
@@
static void insert_source_row_into_text_view (GtkTreeIter iter,
struct compute_dialog
{
struct compute_dialog
{
- G
ladeXML
*xml; /* The xml that generated the widgets */
+ G
tkBuilder
*xml; /* The xml that generated the widgets */
PsppireDict *dict;
gboolean use_type;
};
PsppireDict *dict;
gboolean use_type;
};
@@
-370,7
+370,7
@@
compute_dialog (GObject *o, gpointer data)
PsppireVarStore *vs = NULL;
struct compute_dialog scd;
PsppireVarStore *vs = NULL;
struct compute_dialog scd;
- G
ladeXML *xml = XML_NEW ("psppire.glade
");
+ G
tkBuilder *xml = builder_new ("psppire.ui
");
GtkWidget *dialog = get_widget_assert (xml, "compute-variable-dialog");
GtkWidget *dialog = get_widget_assert (xml, "compute-variable-dialog");
diff --git
a/src/ui/gui/find-dialog.c
b/src/ui/gui/find-dialog.c
index 332e2d8e0c3141c0c95a6690f9c087fbec3af55e..985e73fbc321f8dc5793a2dab193f4edc634a19a 100644
(file)
--- a/
src/ui/gui/find-dialog.c
+++ b/
src/ui/gui/find-dialog.c
@@
-37,7
+37,6
@@
which match particular strings */
#include <libpspp/message.h>
#include <gtk/gtk.h>
#include <libpspp/message.h>
#include <gtk/gtk.h>
-#include <glade/glade.h>
#include <stdlib.h>
#include "xalloc.h"
#include <stdlib.h>
#include "xalloc.h"
@@
-52,7
+51,7
@@
which match particular strings */
struct find_dialog
{
struct find_dialog
{
- G
ladeXML
*xml;
+ G
tkBuilder
*xml;
PsppireDict *dict;
struct datasheet *data;
struct data_editor *de;
PsppireDict *dict;
struct datasheet *data;
struct data_editor *de;
@@
-200,7
+199,7
@@
find_dialog (GObject *o, gpointer data)
PsppireVarStore *vs ;
PsppireDataStore *ds ;
PsppireVarStore *vs ;
PsppireDataStore *ds ;
- fd.xml =
XML_NEW ("psppire.glade
");
+ fd.xml =
builder_new ("psppire.ui
");
fd.de = de;
find_button = gtk_button_new_from_stock (GTK_STOCK_FIND);
fd.de = de;
find_button = gtk_button_new_from_stock (GTK_STOCK_FIND);
diff --git
a/src/ui/gui/goto-case-dialog.c
b/src/ui/gui/goto-case-dialog.c
index 86e80c5d8018691bb31c09e5f7bf5da97bf79687..a22b5cb0ebe4077f202de1a35931950b13822118 100644
(file)
--- a/
src/ui/gui/goto-case-dialog.c
+++ b/
src/ui/gui/goto-case-dialog.c
@@
-24,7
+24,7
@@
static void
static void
-refresh (const struct data_editor *de, G
ladeXML
*xml)
+refresh (const struct data_editor *de, G
tkBuilder
*xml)
{
PsppireDataStore *ds = NULL;
casenumber case_count ;
{
PsppireDataStore *ds = NULL;
casenumber case_count ;
@@
-43,7
+43,7
@@
void
goto_case_dialog (GObject *o, gpointer data)
{
gint response;
goto_case_dialog (GObject *o, gpointer data)
{
gint response;
- G
ladeXML *xml = XML_NEW ("psppire.glade
");
+ G
tkBuilder *xml = builder_new ("psppire.ui
");
struct data_editor *de = data;
GtkWidget *dialog = get_widget_assert (xml, "goto-case-dialog");
struct data_editor *de = data;
GtkWidget *dialog = get_widget_assert (xml, "goto-case-dialog");
diff --git
a/src/ui/gui/message-dialog.c
b/src/ui/gui/message-dialog.c
index 669504e867073b90989ff5362babe1d38fe37c1c..866f8c6d91f1065762ba0a636291c255bd05c67a 100644
(file)
--- a/
src/ui/gui/message-dialog.c
+++ b/
src/ui/gui/message-dialog.c
@@
-48,7
+48,7
@@
static GQueue *late_queue;
static int error_cnt, warning_cnt, note_cnt;
static int error_cnt, warning_cnt, note_cnt;
-static G
ladeXML
*message_xml;
+static G
tkBuilder
*message_xml;
static GtkWidget *message_dialog;
void
static GtkWidget *message_dialog;
void
diff --git
a/src/ui/gui/psppire-dialog.c
b/src/ui/gui/psppire-dialog.c
index 99e0ad7cdf08ef24977fd7b0754b8afd5ad7729d..c0c2641f3222f3da4b130676d737b168a02e893e 100644
(file)
--- a/
src/ui/gui/psppire-dialog.c
+++ b/
src/ui/gui/psppire-dialog.c
@@
-501,7
+501,7
@@
get_internal_child (GtkBuildable *buildable,
{
PsppireDialog *dialog = PSPPIRE_DIALOG (buildable);
{
PsppireDialog *dialog = PSPPIRE_DIALOG (buildable);
- if ( 0 ==
strcmp
(childname, "hbox"))
+ if ( 0 ==
g_strcmp0
(childname, "hbox"))
return G_OBJECT (dialog->box);
return NULL;
return G_OBJECT (dialog->box);
return NULL;
diff --git
a/src/ui/gui/select-cases-dialog.c
b/src/ui/gui/select-cases-dialog.c
index f241c79d3558bcda1ec38f294f76f7a81373131d..143f7a6d7f122f31144361e7e5513dd571c87a24 100644
(file)
--- a/
src/ui/gui/select-cases-dialog.c
+++ b/
src/ui/gui/select-cases-dialog.c
@@
-18,7
+18,6
@@
#include "select-cases-dialog.h"
#include <gtk/gtk.h>
#include "select-cases-dialog.h"
#include <gtk/gtk.h>
-#include <glade/glade.h>
#include "helper.h"
#include "psppire-dialog.h"
#include "data-editor.h"
#include "helper.h"
#include "psppire-dialog.h"
#include "data-editor.h"
@@
-42,7
+41,7
@@
struct select_cases_dialog
{
/* The XML that created the dialog */
struct select_cases_dialog
{
/* The XML that created the dialog */
- G
ladeXML
*xml;
+ G
tkBuilder
*xml;
GtkWidget *spinbutton ;
GtkWidget *spinbutton1 ;
GtkWidget *spinbutton ;
GtkWidget *spinbutton1 ;
@@
-247,7
+246,7
@@
select_cases_dialog (GObject *o, gpointer data)
GtkWidget *button_range;
GtkWidget *button_sample;
GtkWidget *button_range;
GtkWidget *button_sample;
- scd.xml =
XML_NEW ("psppire.glade
");
+ scd.xml =
builder_new ("psppire.ui
");
g_object_get (de->data_editor, "data-store", &scd.data_store, NULL);
g_object_get (de->data_editor, "data-store", &scd.data_store, NULL);
diff --git
a/src/ui/gui/select-cases-dialog.h
b/src/ui/gui/select-cases-dialog.h
index 533992e0c5d191ecc8ae953de08e2beb698e77f3..b585b096fc43c966a342b8b692be714d1939894d 100644
(file)
--- a/
src/ui/gui/select-cases-dialog.h
+++ b/
src/ui/gui/select-cases-dialog.h
@@
-19,7
+19,6
@@
#include <gtk/gtk.h>
#include <gtk/gtk.h>
-#include <glade/glade.h>
void select_cases_dialog (GObject *o, gpointer data);
void select_cases_dialog (GObject *o, gpointer data);
diff --git
a/src/ui/gui/sort-cases-dialog.c
b/src/ui/gui/sort-cases-dialog.c
index 4c83676f212e5f1c26784a006d647236d5e5fd66..dea226c76098886e43efed67e385d98d36475377 100644
(file)
--- a/
src/ui/gui/sort-cases-dialog.c
+++ b/
src/ui/gui/sort-cases-dialog.c
@@
-95,7
+95,7
@@
sort_cases_dialog (GObject *o, gpointer data)
struct sort_cases_dialog scd;
struct sort_cases_dialog scd;
- G
ladeXML *xml = XML_NEW ("psppire.glade
");
+ G
tkBuilder *xml = builder_new ("psppire.ui
");
GtkWidget *dialog = get_widget_assert (xml, "sort-cases-dialog");
GtkWidget *dialog = get_widget_assert (xml, "sort-cases-dialog");
diff --git
a/src/ui/gui/split-file-dialog.c
b/src/ui/gui/split-file-dialog.c
index 22cdb9140483b5393010997bf40eb05f29c80961..57f5733c6f49c3d9dbfa4efaa44041621b645c80 100644
(file)
--- a/
src/ui/gui/split-file-dialog.c
+++ b/
src/ui/gui/split-file-dialog.c
@@
-27,7
+27,6
@@
#include <data/dictionary.h>
#include <gtk/gtk.h>
#include <data/dictionary.h>
#include <gtk/gtk.h>
-#include <glade/glade.h>
#include "dialog-common.h"
#include "dialog-common.h"
@@
-39,7
+38,7
@@
struct split_file_dialog
{
/* The XML that created the dialog */
struct split_file_dialog
{
/* The XML that created the dialog */
- G
ladeXML
*xml;
+ G
tkBuilder
*xml;
/* The dictionary to which this dialog pertains */
PsppireDict *dict;
/* The dictionary to which this dialog pertains */
PsppireDict *dict;
@@
-177,7
+176,7
@@
split_file_dialog (GObject *o, gpointer data)
GtkWidget *selector ;
GtkWidget *on_off ;
GtkWidget *selector ;
GtkWidget *on_off ;
- sfd.xml =
XML_NEW ("psppire.glade
");
+ sfd.xml =
builder_new ("psppire.ui
");
dialog = get_widget_assert (sfd.xml, "split-file-dialog");
source = get_widget_assert (sfd.xml, "split-file-dict-treeview");
dialog = get_widget_assert (sfd.xml, "split-file-dialog");
source = get_widget_assert (sfd.xml, "split-file-dict-treeview");
diff --git
a/src/ui/gui/t-test-options.c
b/src/ui/gui/t-test-options.c
index eaf7c43f00da785ea8cd30269343a35008a85b9d..ed8ac042daaf7e3e420eb739dcfd0e32a6ef24a1 100644
(file)
--- a/
src/ui/gui/t-test-options.c
+++ b/
src/ui/gui/t-test-options.c
@@
-52,7
+52,7
@@
struct tt_options_dialog
};
struct tt_options_dialog *
};
struct tt_options_dialog *
-tt_options_dialog_create (G
ladeXML
*xml, GtkWindow *parent)
+tt_options_dialog_create (G
tkBuilder
*xml, GtkWindow *parent)
{
struct tt_options_dialog *tto = xmalloc (sizeof (*tto));
{
struct tt_options_dialog *tto = xmalloc (sizeof (*tto));
diff --git
a/src/ui/gui/t-test-options.h
b/src/ui/gui/t-test-options.h
index fdb2d87cf6e744db157e63c26747c1029348b5bf..e80ef44496c5e21e08e0eabd1cafc90a047694ef 100644
(file)
--- a/
src/ui/gui/t-test-options.h
+++ b/
src/ui/gui/t-test-options.h
@@
-24,7
+24,7
@@
struct tt_options_dialog;
void tt_options_dialog_run (struct tt_options_dialog *);
void tt_options_dialog_run (struct tt_options_dialog *);
-struct tt_options_dialog * tt_options_dialog_create (G
ladeXML
*, GtkWindow *);
+struct tt_options_dialog * tt_options_dialog_create (G
tkBuilder
*, GtkWindow *);
void tt_options_dialog_destroy (struct tt_options_dialog *);
void tt_options_dialog_destroy (struct tt_options_dialog *);
diff --git
a/src/ui/gui/transpose-dialog.c
b/src/ui/gui/transpose-dialog.c
index 621e196c2914ea43e9b2f5995be2acf8f1c0ea91..272ef1b3934daaa4f07043dc3dc2f5a5d9e04a8d 100644
(file)
--- a/
src/ui/gui/transpose-dialog.c
+++ b/
src/ui/gui/transpose-dialog.c
@@
-28,7
+28,6
@@
#include "dialog-common.h"
#include <gtk/gtk.h>
#include "dialog-common.h"
#include <gtk/gtk.h>
-#include <glade/glade.h>
#include <gettext.h>
#include <gettext.h>
@@
-40,12
+39,12
@@
#include "psppire-var-store.h"
#include "psppire-var-store.h"
-static gchar * generate_syntax (PsppireDict *dict, G
ladeXML
*xml);
+static gchar * generate_syntax (PsppireDict *dict, G
tkBuilder
*xml);
static void
refresh (PsppireDialog *dialog, gpointer data)
{
static void
refresh (PsppireDialog *dialog, gpointer data)
{
- G
ladeXML
*xml = data;
+ G
tkBuilder
*xml = data;
GtkWidget *dest = get_widget_assert (xml, "variables-treeview");
GtkWidget *entry = get_widget_assert (xml, "new-name-entry");
GtkTreeModel *dmodel = gtk_tree_view_get_model (GTK_TREE_VIEW (dest));
GtkWidget *dest = get_widget_assert (xml, "variables-treeview");
GtkWidget *entry = get_widget_assert (xml, "new-name-entry");
GtkTreeModel *dmodel = gtk_tree_view_get_model (GTK_TREE_VIEW (dest));
@@
-57,7
+56,7
@@
refresh (PsppireDialog *dialog, gpointer data)
static gboolean
dialog_state_valid (gpointer data)
{
static gboolean
dialog_state_valid (gpointer data)
{
- G
ladeXML
*xml = data;
+ G
tkBuilder
*xml = data;
GtkWidget *tv = get_widget_assert (xml, "variables-treeview");
GtkWidget *entry = get_widget_assert (xml, "new-name-entry");
GtkWidget *tv = get_widget_assert (xml, "variables-treeview");
GtkWidget *entry = get_widget_assert (xml, "new-name-entry");
@@
-82,7
+81,7
@@
transpose_dialog (GObject *o, gpointer data)
gint response ;
struct data_editor *de = data;
gint response ;
struct data_editor *de = data;
- G
ladeXML *xml = XML_NEW ("psppire.glade
");
+ G
tkBuilder *xml = builder_new ("psppire.ui
");
PsppireVarStore *vs = NULL;
PsppireVarStore *vs = NULL;
@@
-159,7
+158,7
@@
transpose_dialog (GObject *o, gpointer data)
FLIP /VARIABLES=var_list /NEWNAMES=var_name.
*/
static gchar *
FLIP /VARIABLES=var_list /NEWNAMES=var_name.
*/
static gchar *
-generate_syntax (PsppireDict *dict, G
ladeXML
*xml)
+generate_syntax (PsppireDict *dict, G
tkBuilder
*xml)
{
const gchar *text;
GString *string = g_string_new ("FLIP");
{
const gchar *text;
GString *string = g_string_new ("FLIP");
diff --git
a/src/ui/gui/variable-info-dialog.c
b/src/ui/gui/variable-info-dialog.c
index 533021e762cb45f73e1a996444cde856e725689a..a2583144ee5022f3326562d76bdae8ea36bca4f0 100644
(file)
--- a/
src/ui/gui/variable-info-dialog.c
+++ b/
src/ui/gui/variable-info-dialog.c
@@
-168,7
+168,7
@@
variable_info_dialog (GObject *o, gpointer data)
gint response ;
gint response ;
- G
ladeXML *xml = XML_NEW ("psppire.glade
");
+ G
tkBuilder *xml = builder_new ("psppire.ui
");
GtkWidget *dialog = get_widget_assert (xml, "variable-info-dialog");
GtkWidget *treeview = get_widget_assert (xml, "treeview2");
GtkWidget *dialog = get_widget_assert (xml, "variable-info-dialog");
GtkWidget *treeview = get_widget_assert (xml, "treeview2");
diff --git
a/src/ui/gui/weight-cases-dialog.c
b/src/ui/gui/weight-cases-dialog.c
index 223568bf0e1a7e6af9afd21028301e206221ba87..8b46ca5e8d7c988cfb1f2bd2649c55e92dd28fee 100644
(file)
--- a/
src/ui/gui/weight-cases-dialog.c
+++ b/
src/ui/gui/weight-cases-dialog.c
@@
-26,7
+26,6
@@
#include "syntax-editor.h"
#include <gtk/gtk.h>
#include "syntax-editor.h"
#include <gtk/gtk.h>
-#include <glade/glade.h>
#include <gettext.h>
#define _(msgid) gettext (msgid)
#include <gettext.h>
#define _(msgid) gettext (msgid)
@@
-107,7
+106,7
@@
weight_cases_dialog (GObject *o, gpointer data)
struct data_editor *de = data;
struct weight_cases_dialog wcd;
struct data_editor *de = data;
struct weight_cases_dialog wcd;
- G
ladeXML *xml = XML_NEW ("psppire.glade
");
+ G
tkBuilder *xml = builder_new ("psppire.ui
");
GtkWidget *dialog = get_widget_assert (xml, "weight-cases-dialog");
GtkWidget *source = get_widget_assert (xml, "weight-cases-treeview");
GtkWidget *dialog = get_widget_assert (xml, "weight-cases-dialog");
GtkWidget *source = get_widget_assert (xml, "weight-cases-treeview");