projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
split-file: New function output_split_file_values_peek().
[pspp]
/
src
/
ui
/
gui
/
psppire-selector.c
diff --git
a/src/ui/gui/psppire-selector.c
b/src/ui/gui/psppire-selector.c
index 165d1faadcbd231d0c31ffae9ed5704291d5a08d..678c2a749f240af62e12219cb58b4006ae15af8f 100644
(file)
--- a/
src/ui/gui/psppire-selector.c
+++ b/
src/ui/gui/psppire-selector.c
@@
-62,6
+62,7
@@
#include "psppire-dict.h"
#include "psppire-select-dest.h"
#include "psppire-means-layer.h"
#include "psppire-dict.h"
#include "psppire-select-dest.h"
#include "psppire-means-layer.h"
+#include "helper.h"
#include <gtk/gtk.h>
#include <gtk/gtk.h>
@@
-100,6
+101,7
@@
on_row_inserted (PsppireSelector *selector)
static GObjectClass * parent_class = NULL;
static GObjectClass * parent_class = NULL;
+#if DEBUG
static void
dump_hash_entry (gpointer key, gpointer value, gpointer obj)
{
static void
dump_hash_entry (gpointer key, gpointer value, gpointer obj)
{
@@
-124,7
+126,7
@@
psppire_selector_show_map (PsppireSelector *obj)
g_print ("%s %p\n", __FUNCTION__, obj);
g_hash_table_foreach (class->source_hash, dump_hash_entry, obj);
}
g_print ("%s %p\n", __FUNCTION__, obj);
g_hash_table_foreach (class->source_hash, dump_hash_entry, obj);
}
-
+#endif
static void
static void
@@
-574,7
+576,7
@@
de_select_tree_model (GtkTreeSelection *selection, GtkTreeModel *model)
}
/* Delete list of RowRefs and its contents */
}
/* Delete list of RowRefs and its contents */
- g_list_foreach (selected_rows,
(GFunc) (void (*)(void)) gtk_tree_row_reference_free
, NULL);
+ g_list_foreach (selected_rows,
GFUNC_COMPAT_CAST (gtk_tree_row_reference_free)
, NULL);
g_list_free (selected_rows);
}
g_list_free (selected_rows);
}
@@
-661,7
+663,7
@@
select_selection (PsppireSelector *selector)
);
}
);
}
- g_list_foreach (selected_rows,
(GFunc) (void (*)(void)) gtk_tree_path_free
, NULL);
+ g_list_foreach (selected_rows,
GFUNC_COMPAT_CAST (gtk_tree_path_free)
, NULL);
g_list_free (selected_rows);
refilter (selector);
g_list_free (selected_rows);
refilter (selector);