projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Better abstraction of the unsaved window status.
[pspp-builds.git]
/
src
/
ui
/
gui
/
var-type-dialog.c
diff --git
a/src/ui/gui/var-type-dialog.c
b/src/ui/gui/var-type-dialog.c
index 50ab417c14817c00905f00d705d63c1a5dbc0679..44afc84e816dd47d18f8264e76a9cf9d1d5a462d 100644
(file)
--- a/
src/ui/gui/var-type-dialog.c
+++ b/
src/ui/gui/var-type-dialog.c
@@
-21,7
+21,6
@@
#include <config.h>
#include <gtk/gtk.h>
#include <config.h>
#include <gtk/gtk.h>
-#include <glade/glade.h>
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
@@
-324,7
+323,7
@@
set_format_type_from_treeview (GtkTreeView *treeview, gpointer data)
/* Create the structure from the XML definitions */
struct var_type_dialog *
/* Create the structure from the XML definitions */
struct var_type_dialog *
-var_type_dialog_create (G
ladeXML
*xml)
+var_type_dialog_create (G
tkBuilder
*xml)
{
gint i;
struct var_type_dialog *dialog = g_malloc (sizeof (struct var_type_dialog));
{
gint i;
struct var_type_dialog *dialog = g_malloc (sizeof (struct var_type_dialog));
@@
-445,7
+444,7
@@
var_type_dialog_create (GladeXML *xml)
g_object_unref (list_store);
g_object_unref (list_store);
- g_signal_connect (
GTK_OBJECT (dialog->date_format_treeview)
, "cursor-changed",
+ g_signal_connect (
dialog->date_format_treeview
, "cursor-changed",
GTK_SIGNAL_FUNC (set_format_from_treeview), dialog);
GTK_SIGNAL_FUNC (set_format_from_treeview), dialog);
@@
-482,11
+481,11
@@
var_type_dialog_create (GladeXML *xml)
g_object_unref (list_store);
g_object_unref (list_store);
- g_signal_connect (
GTK_OBJECT (dialog->dollar_treeview)
,
+ g_signal_connect (
dialog->dollar_treeview
,
"cursor-changed",
GTK_SIGNAL_FUNC (set_format_from_treeview), dialog);
"cursor-changed",
GTK_SIGNAL_FUNC (set_format_from_treeview), dialog);
- g_signal_connect_swapped (
GTK_OBJECT (dialog->dollar_treeview)
,
+ g_signal_connect_swapped (
dialog->dollar_treeview
,
"cursor-changed",
GTK_SIGNAL_FUNC (update_width_decimals), dialog);
"cursor-changed",
GTK_SIGNAL_FUNC (update_width_decimals), dialog);
@@
-526,22
+525,22
@@
var_type_dialog_create (GladeXML *xml)
g_object_unref (list_store);
g_object_unref (list_store);
- g_signal_connect (
GTK_OBJECT (dialog->custom_treeview)
,
+ g_signal_connect (
dialog->custom_treeview
,
"cursor-changed",
GTK_SIGNAL_FUNC (set_format_type_from_treeview), dialog);
"cursor-changed",
GTK_SIGNAL_FUNC (set_format_type_from_treeview), dialog);
- g_signal_connect (
GTK_OBJECT (dialog->custom_treeview)
,
+ g_signal_connect (
dialog->custom_treeview
,
"cursor-changed",
GTK_SIGNAL_FUNC (preview_custom), dialog);
"cursor-changed",
GTK_SIGNAL_FUNC (preview_custom), dialog);
- g_signal_connect (
GTK_OBJECT (dialog->entry_width)
,
+ g_signal_connect (
dialog->entry_width
,
"changed",
GTK_SIGNAL_FUNC (preview_custom), dialog);
"changed",
GTK_SIGNAL_FUNC (preview_custom), dialog);
- g_signal_connect (
GTK_OBJECT (dialog->entry_decimals)
,
+ g_signal_connect (
dialog->entry_decimals
,
"changed",
GTK_SIGNAL_FUNC (preview_custom), dialog);
"changed",
GTK_SIGNAL_FUNC (preview_custom), dialog);