projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Regression Dialog: Reduce the size of the Independent Variables widget.
[pspp]
/
src
/
ui
/
gui
/
dialog-common.c
diff --git
a/src/ui/gui/dialog-common.c
b/src/ui/gui/dialog-common.c
index cdd6ac667a6e9ade846ce51f2009031a73d0affb..cdc0758cb3e77ca4f115aa67c7a6699331476d66 100644
(file)
--- a/
src/ui/gui/dialog-common.c
+++ b/
src/ui/gui/dialog-common.c
@@
-33,7
+33,7
@@
static GtkTreePath *
get_base_tree_path (GtkTreeModel *m, GtkTreePath *op)
{
GtkTreePath *p = gtk_tree_path_copy (op);
get_base_tree_path (GtkTreeModel *m, GtkTreePath *op)
{
GtkTreePath *p = gtk_tree_path_copy (op);
- while (
! PSPPIRE_IS_DICT (m))
+ while (! PSPPIRE_IS_DICT (m))
{
GtkTreePath *oldp = p;
{
GtkTreePath *oldp = p;
@@
-112,10
+112,10
@@
homogeneous_types (GtkWidget *source, GtkWidget *dest)
have_type = true;
}
have_type = true;
}
- g_list_foreach (list,
(GFunc) gtk_tree_path_free
, NULL);
+ g_list_foreach (list,
GFUNC_COMPAT_CAST (gtk_tree_path_free)
, NULL);
g_list_free (list);
g_list_free (list);
- if (
retval == FALSE
)
+ if (
retval == FALSE
)
return FALSE;
/* now deal with the dest widget */
return FALSE;
/* now deal with the dest widget */
@@
-128,7
+128,7
@@
homogeneous_types (GtkWidget *source, GtkWidget *dest)
const struct variable *v;
gtk_tree_model_get (model, &iter, 0, &v, -1);
const struct variable *v;
gtk_tree_model_get (model, &iter, 0, &v, -1);
- if (
have_type && var_get_type (v) != type
)
+ if (
have_type && var_get_type (v) != type
)
{
retval = FALSE;
break;
{
retval = FALSE;
break;
@@
-172,14
+172,14
@@
numeric_only (GtkWidget *source, GtkWidget *dest)
const struct variable *v = psppire_dict_get_variable (dict, idx[0]);
gtk_tree_path_free (p);
const struct variable *v = psppire_dict_get_variable (dict, idx[0]);
gtk_tree_path_free (p);
- if (
var_is_alpha (v))
+ if (var_is_alpha (v))
{
retval = FALSE;
break;
}
}
{
retval = FALSE;
break;
}
}
- g_list_foreach (list,
(GFunc) gtk_tree_path_free
, NULL);
+ g_list_foreach (list,
GFUNC_COMPAT_CAST (gtk_tree_path_free)
, NULL);
g_list_free (list);
return retval;
g_list_free (list);
return retval;