Changeset 40597e7


Ignore:
Timestamp:
Jun 3, 2010, 2:01:23 AM (14 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10, release-1.7, release-1.8, release-1.9
Children:
d6f2d21
Parents:
521e600
Message:
The msgwin isn't going to be NULL from allocation failure now

This lets us get rid of the get_curs_msgwin function.
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    rc1fd7e2 r40597e7  
    33843384  char *str;
    33853385
    3386   if (!owl_global_get_curs_msgwin(&g)) return;
    3387 
    33883386  va_start(ap, fmt);
    33893387  str = g_strdup_vprintf(fmt, ap);
  • global.c

    rad788b5 r40597e7  
    281281}
    282282
    283 owl_window *owl_global_get_curs_msgwin(const owl_global *g) {
    284   return g->msgwin.window;
    285 }
    286 
    287283owl_window *owl_global_get_curs_typwin(const owl_global *g) {
    288284  return g->mainpanel.typwin;
Note: See TracChangeset for help on using the changeset viewer.