Changeset 7a6e6c7 for viewwin.c


Ignore:
Timestamp:
Jun 1, 2010, 1:27:14 AM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
05ca0d8
Parents:
7a70e26
Message:
Use signals for redraw and resize
File:
1 edited

Legend:

Unmodified
Added
Removed
  • viewwin.c

    r5f7eadf r7a6e6c7  
    5353{
    5454  if (v->window) {
    55     owl_window_set_redraw_cb(v->window, 0, 0, 0);
     55    g_signal_handler_disconnect(v->window, v->sig_redraw_id);
    5656  }
    5757  v->window = w;
    5858  if (w) {
    59     owl_window_set_redraw_cb(w, owl_viewwin_redisplay, v, 0);
     59    v->sig_redraw_id = g_signal_connect(w, "redraw", G_CALLBACK(owl_viewwin_redisplay), v);
    6060  }
    6161}
Note: See TracChangeset for help on using the changeset viewer.