aboutsummaryrefslogtreecommitdiff
path: root/src/presentation.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-09-08 09:30:57 +0200
committerThomas White <taw@bitwiz.org.uk>2014-09-08 09:30:57 +0200
commitcf20a05e3f18d11ded94a74b072c963b3174e168 (patch)
treeb891805df8489d8214b3331af36bac4b181bc90a /src/presentation.h
parent72c3ff616107bef50a7e996176c5f2cd35218b89 (diff)
Simplify the style menu a bit
Diffstat (limited to 'src/presentation.h')
-rw-r--r--src/presentation.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/presentation.h b/src/presentation.h
index f8f9429..7dac81a 100644
--- a/src/presentation.h
+++ b/src/presentation.h
@@ -97,13 +97,7 @@ enum drag_status
};
-/* Inelegance to make furniture selection menus work */
-struct menu_pl
-{
- struct presentation *p;
- struct style *sty;
- struct slide_template *st;
-};
+struct menu_pl;
struct presentation
@@ -120,9 +114,8 @@ struct presentation
GtkUIManager *ui;
GtkActionGroup *action_group;
GtkIMContext *im_context;
- GtkWidget **menu_rebuild_list;
- struct style_id *menu_path_list;
- int n_menu_rebuild;
+ struct menu_pl *style_menu;
+ int n_style_menu;
PangoContext *pc;
ImageStore *is;