diff options
author | Thomas White <taw@bitwiz.org.uk> | 2012-10-12 00:53:34 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2012-10-12 00:53:34 +0200 |
commit | 350c51a006edba2a46e7f17bf05098b398a4cb80 (patch) | |
tree | b6a996032b7131eb72c5b070325c78a005087ed0 /src/mainwindow.c | |
parent | eea7bf93ada2a57fad1dac3e5233f703d1af02ff (diff) |
Move "frame" to new module
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r-- | src/mainwindow.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c index a4221a6..1a5f7d9 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -35,6 +35,7 @@ #include "presentation.h" #include "mainwindow.h" #include "render.h" +#include "frame.h" static void redraw_slide(struct slide *s) @@ -517,13 +518,15 @@ static gint add_furniture(GtkWidget *widget, struct presentation *p) { gchar *name; struct style *sty; + struct frame *fr; g_object_get(G_OBJECT(widget), "label", &name, NULL); sty = find_style(p->ss, name); g_free(name); if ( sty == NULL ) return 0; - /* FIXME: Create it */ + fr = add_subframe(p->cur_edit_slide->top); + fr->style = sty; return 0; } |