Changeset e5210c9 for owl.c


Ignore:
Timestamp:
Feb 19, 2013, 8:29:05 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10
Children:
69f74c2
Parents:
897fc1c
git-author:
David Benjamin <davidben@mit.edu> (06/09/12 23:04:33)
git-committer:
David Benjamin <davidben@mit.edu> (02/19/13 20:29:05)
Message:
dlsym the functions we need after use Glib and before use BarnOwl

After use Glib so the library is loaded. Before use BarnOwl so we try to
use them before they're available.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r06e04a9 re5210c9  
    478478  char **argv_copy;
    479479  char *perlout, *perlerr;
    480   const char *dlerr;
    481480  const owl_style *s;
    482481  const char *dir;
     
    555554  }
    556555
    557   dlerr = owl_closure_init();
    558   if(dlerr) {
    559     endwin();
    560     fprintf(stderr, "Error binding gtk2-perl functions from C: %s\n",dlerr);
    561     fflush(stderr);
    562     fprintf(stdout, "Error binding gtk2-perl functions from C: %s\n",dlerr);
    563     fflush(stdout);
    564     exit(1);
    565   }
    566  
    567556  owl_global_complete_setup(&g);
    568557
Note: See TracChangeset for help on using the changeset viewer.