diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-11-06 23:31:43 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2011-11-06 23:31:43 +0100 |
commit | 4910224d9f6273e6c78458353f6bbfec836ea35d (patch) | |
tree | 0f0c24b95f45767493852576d10402fc26f4fd15 /src/presentation.c | |
parent | e4cd5c54a16bf68eb57f6acce50e13bcfd3797ab (diff) |
Update the title bar on load/save
Diffstat (limited to 'src/presentation.c')
-rw-r--r-- | src/presentation.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/presentation.c b/src/presentation.c index 75b76d0..f954503 100644 --- a/src/presentation.c +++ b/src/presentation.c @@ -215,7 +215,7 @@ static char *safe_basename(const char *in) } -static void update_titlebar(struct presentation *p) +void get_titlebar_string(struct presentation *p) { free(p->titlebar); @@ -249,7 +249,7 @@ struct presentation *new_presentation() new->filename = NULL; new->titlebar = NULL; - update_titlebar(new); + get_titlebar_string(new); new->window = NULL; new->ui = NULL; |