Changeset 96828e4 for popwin.c


Ignore:
Timestamp:
Feb 11, 2011, 4:31:33 PM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
35b6eb9
Parents:
9518a85
git-author:
Anders Kaseorg <andersk@mit.edu> (08/27/09 00:51:45)
git-committer:
Anders Kaseorg <andersk@mit.edu> (02/11/11 16:31:33)
Message:
Replace owl_malloc with g_new and g_new0.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Karl Ramm <kcr@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • popwin.c

    r9b9efa2b r96828e4  
    33owl_popwin *owl_popwin_new(void)
    44{
    5   owl_popwin *pw = owl_malloc(sizeof(owl_popwin));
    6   memset(pw, 0, sizeof(*pw));
     5  owl_popwin *pw = g_new0(owl_popwin, 1);
    76
    87  pw->border = owl_window_new(NULL);
Note: See TracChangeset for help on using the changeset viewer.