Changeset 9eb38bb for global.c


Ignore:
Timestamp:
Sep 18, 2010, 5:07:39 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
d574d61
Parents:
8ee712e0
git-author:
David Benjamin <davidben@mit.edu> (08/01/10 14:09:34)
git-committer:
David Benjamin <davidben@mit.edu> (09/18/10 17:07:39)
Message:
Likewise, don't reuse a global owl_viewwin

This means we don't have to support plugging and unplugging that thing
over and over. We also can almost entirely drop the global owl_viewwin.
Most of the code gets it from the context anyway.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r03ca005 r9eb38bb  
    4949
    5050  g->pw = NULL;
     51  g->vw = NULL;
    5152  g->tw = NULL;
    5253
     
    492493
    493494owl_viewwin *owl_global_get_viewwin(owl_global *g) {
    494   return(&(g->vw));
     495  return g->vw;
     496}
     497
     498void owl_global_set_viewwin(owl_global *g, owl_viewwin *vw) {
     499  g->vw = vw;
    495500}
    496501
Note: See TracChangeset for help on using the changeset viewer.