Changeset ea7daa8 for global.c


Ignore:
Timestamp:
Jun 12, 2010, 3:29:01 PM (14 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10, release-1.7, release-1.8, release-1.9
Children:
1aa4cc4
Parents:
044f19f
git-author:
David Benjamin <davidben@mit.edu> (06/12/10 01:53:25)
git-committer:
David Benjamin <davidben@mit.edu> (06/12/10 15:29:01)
Message:
Remove the global notifier
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r044f19f rea7daa8  
    88#include <time.h>
    99#include "owl.h"
    10 #include "globalnotifier.h"
    1110
    1211#ifndef MAXHOSTNAMELEN
     
    2019  char hostname[MAXHOSTNAMELEN];
    2120  char *cd;
    22   g->gn = owl_global_notifier_new(g);
    2321
    2422  g->malloced=0;
     
    241239void owl_global_set_curmsg(owl_global *g, int i) {
    242240  g->curmsg=i;
    243   g_object_notify(G_OBJECT(g->gn), "curmsg");
    244241  /* we will reset the vertical offset from here */
    245242  /* we might want to move this out to the functions later */
     
    340337void owl_global_set_rightshift(owl_global *g, int i) {
    341338  g->rightshift = i;
    342   g_object_notify(G_OBJECT(g->gn), "rightshift");
    343 
    344339  owl_mainwin_redisplay(owl_global_get_mainwin(g));
    345340}
     
    563558void owl_global_set_curmsg_vert_offset(owl_global *g, int i) {
    564559  g->curmsg_vert_offset = i;
    565   g_object_notify(G_OBJECT(g->gn), "curmsg-vert-offset");
    566560}
    567561
Note: See TracChangeset for help on using the changeset viewer.