Changeset 04d76ef


Ignore:
Timestamp:
Jun 1, 2010, 8:10:25 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
e20dd769
Parents:
43e3061
git-author:
David Benjamin <davidben@mit.edu> (06/01/10 20:09:59)
git-committer:
David Benjamin <davidben@mit.edu> (06/01/10 20:10:25)
Message:
Add a signal for curmsg_vert_offset
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r43e3061 r04d76ef  
    590590
    591591void owl_global_set_curmsg_vert_offset(owl_global *g, int i) {
    592   g->curmsg_vert_offset=i;
     592  g_object_set(g->gn, "curmsg-vert-offset", i, NULL);
    593593}
    594594
  • globalnotifiergen.pl

    r43e3061 r04d76ef  
    3838  /* normal properties */
    3939  PROP_RIGHTSHIFT,
     40  PROP_CURMSG_VERT_OFFSET,
    4041  /* generated from variable listings */
    4142EOT
     
    6162    case PROP_RIGHTSHIFT:
    6263      notifier->g->rightshift = g_value_get_int(value);
     64      break;
     65    case PROP_CURMSG_VERT_OFFSET:
     66      notifier->g->curmsg_vert_offset = g_value_get_int(value);
    6367      break;
    6468    /* generated from variable listings */
     
    103107    case PROP_RIGHTSHIFT:
    104108      g_value_set_int(value, owl_global_get_rightshift(notifier->g));
     109      break;
     110    case PROP_CURMSG_VERT_OFFSET:
     111      g_value_set_int(value, owl_global_get_curmsg_vert_offset(notifier->g));
    105112      break;
    106113    /* generated from variable listings */
Note: See TracChangeset for help on using the changeset viewer.