projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor locale initialisation.
[pspp-builds.git]
/
src
/
ui
/
gui
/
psppire-selector.h
diff --git
a/src/ui/gui/psppire-selector.h
b/src/ui/gui/psppire-selector.h
index 6385c14c2155b48ae2d7a3664d4e8cf058f54e49..6fff5d4269da20286062e0f8c36def77374f1fa5 100644
(file)
--- a/
src/ui/gui/psppire-selector.h
+++ b/
src/ui/gui/psppire-selector.h
@@
-46,7
+46,8
@@
typedef struct _PsppireSelectorClass PsppireSelectorClass;
/* Function for appending selected items to the destination widget */
typedef void SelectItemsFunc (GtkTreeIter iter,
GtkWidget *dest,
/* Function for appending selected items to the destination widget */
typedef void SelectItemsFunc (GtkTreeIter iter,
GtkWidget *dest,
- GtkTreeModel *source_model);
+ GtkTreeModel *source_model,
+ gpointer data);
/* Function to determine if items may be selected */
typedef gboolean AllowSelectionFunc (GtkWidget *src, GtkWidget *dest);
/* Function to determine if items may be selected */
typedef gboolean AllowSelectionFunc (GtkWidget *src, GtkWidget *dest);
@@
-91,6
+92,8
@@
struct _PsppireSelector
GtkTreeModelFilter *filtered_source;
SelectItemsFunc *select_items;
GtkTreeModelFilter *filtered_source;
SelectItemsFunc *select_items;
+ gpointer select_user_data;
+
FilterItemsFunc *filter;
AllowSelectionFunc *allow_selection;
FilterItemsFunc *filter;
AllowSelectionFunc *allow_selection;
@@
-111,7
+114,8
@@
void psppire_selector_set_subjects (PsppireSelector *,
GtkWidget *,
GtkWidget *,
SelectItemsFunc *,
GtkWidget *,
GtkWidget *,
SelectItemsFunc *,
- FilterItemsFunc * );
+ FilterItemsFunc *,
+ gpointer );
void psppire_selector_set_allow (PsppireSelector *, AllowSelectionFunc *);
void psppire_selector_set_allow (PsppireSelector *, AllowSelectionFunc *);
@@
-126,7
+130,7
@@
typedef enum {
PSPPIRE_SELECT_SOURCE_BELOW_DEST
} PsppireSelectorOrientation;
PSPPIRE_SELECT_SOURCE_BELOW_DEST
} PsppireSelectorOrientation;
-#define
G_TYPE_PSPPIR
E_SELECTOR_ORIENTATION \
+#define
PSPPIRE_TYP
E_SELECTOR_ORIENTATION \
(psppire_selector_orientation_get_type())
(psppire_selector_orientation_get_type())