aboutsummaryrefslogtreecommitdiff
path: root/src/prefs_display_items.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/prefs_display_items.h')
-rw-r--r--src/prefs_display_items.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/prefs_display_items.h b/src/prefs_display_items.h
index 6e239f1a..352df414 100644
--- a/src/prefs_display_items.h
+++ b/src/prefs_display_items.h
@@ -53,7 +53,8 @@ struct _PrefsDisplayItemsDialog
GtkWidget *ok_btn;
GtkWidget *cancel_btn;
- PrefsDisplayItem *available_items;
+ const PrefsDisplayItem *all_items;
+ GList *available_items;
const gint *default_visible_ids;
GList *visible_items;
@@ -63,8 +64,10 @@ struct _PrefsDisplayItemsDialog
PrefsDisplayItemsDialog *prefs_display_items_dialog_create (void);
-void prefs_display_items_dialog_set_available (PrefsDisplayItemsDialog *dialog,
- PrefsDisplayItem *items);
+void prefs_display_items_dialog_set_available
+ (PrefsDisplayItemsDialog *dialog,
+ PrefsDisplayItem *all_items,
+ const gint *ids);
void prefs_display_items_dialog_set_default_visible
(PrefsDisplayItemsDialog *dialog,
const gint *ids);