aboutsummaryrefslogtreecommitdiff
path: root/libsylph/prefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsylph/prefs.h')
-rw-r--r--libsylph/prefs.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/libsylph/prefs.h b/libsylph/prefs.h
index 265bf190..1a77eccd 100644
--- a/libsylph/prefs.h
+++ b/libsylph/prefs.h
@@ -28,8 +28,6 @@ typedef struct _PrefFile PrefFile;
#define PREFSBUFSIZE 1024
-#define P_WID(wid) ((gpointer *)(wid))
-
typedef enum
{
P_STRING,
@@ -48,9 +46,7 @@ struct _PrefParam {
gchar *defval;
gpointer data;
PrefType type;
- gpointer *widget;
- DataSetFunc data_set_func;
- WidgetSetFunc widget_set_func;
+ gpointer ui_data;
};
struct _PrefFile {