Changeset 0b9e607


Ignore:
Timestamp:
Jun 1, 2010, 3:24:23 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
f3a9d4d
Parents:
69873f7
Message:
Rename redisplays to redraw

Gives a target to grep for and matches the signal name.
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • editwin.c

    rf6fae8d r0b9e607  
    4343
    4444static void oe_set_curswin(owl_editwin *e, owl_window *w, int winlines, int wincols);
    45 static void oe_redisplay(owl_window *win, WINDOW *curswin, void *user_data);
     45static void oe_redraw(owl_window *win, WINDOW *curswin, void *user_data);
    4646static void oe_reframe(owl_editwin *e);
    4747static void oe_save_excursion(owl_editwin *e, oe_excursion *x);
     
    171171    e->wrapcol = 0;
    172172  if (e->win) {
    173     e->repaint_id = g_signal_connect(w, "redraw", G_CALLBACK(oe_redisplay), e);
     173    e->repaint_id = g_signal_connect(w, "redraw", G_CALLBACK(oe_redraw), e);
    174174    e->resized_id = g_signal_connect(w, "resized", G_CALLBACK(oe_window_resized), e);
    175175    owl_window_dirty(e->win);
     
    501501
    502502/* regenerate the text on the curses window */
    503 static void oe_redisplay(owl_window *win, WINDOW *curswin, void *user_data)
     503static void oe_redraw(owl_window *win, WINDOW *curswin, void *user_data)
    504504{
    505505  int x = -1, y = -1, t, hard;
  • viewwin.c

    r69873f7 r0b9e607  
    33
    44#define BOTTOM_OFFSET 1
     5
     6static void owl_viewwin_redraw(owl_window *w, WINDOW *curswin, void *user_data);
    57
    68/* initialize the viewwin e.  'win' is an already initialzed curses
     
    5961  if (w) {
    6062    g_object_ref(v->window);
    61     v->sig_redraw_id = g_signal_connect(w, "redraw", G_CALLBACK(owl_viewwin_redisplay), v);
     63    v->sig_redraw_id = g_signal_connect(w, "redraw", G_CALLBACK(owl_viewwin_redraw), v);
    6264  }
    6365}
     
    6971
    7072/* regenerate text on the curses window. */
    71 void owl_viewwin_redisplay(owl_window *w, WINDOW *curswin, void *user_data)
     73static void owl_viewwin_redraw(owl_window *w, WINDOW *curswin, void *user_data)
    7274{
    7375  owl_fmtext fm1, fm2;
Note: See TracChangeset for help on using the changeset viewer.