Changeset 8bba1ae for global.c


Ignore:
Timestamp:
Jul 14, 2010, 1:32:46 AM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
63d9de9
Parents:
3f11c00
Message:
Rename owl_global_get_curs_typwin to owl_global_get_typwin_window

This is more consistent with us no longer exporting raw WINDOWs.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r0be3efd r8bba1ae  
    298298}
    299299
    300 /* curses windows */
    301 
    302 owl_window *owl_global_get_curs_typwin(const owl_global *g) {
     300/* underlying owl_windows */
     301
     302owl_window *owl_global_get_typwin_window(const owl_global *g) {
    303303  return g->mainpanel.typwin;
    304304}
     
    342342
    343343  if (g->typwin_erase_id) {
    344     g_signal_handler_disconnect(owl_global_get_curs_typwin(g), g->typwin_erase_id);
     344    g_signal_handler_disconnect(owl_global_get_typwin_window(g), g->typwin_erase_id);
    345345    g->typwin_erase_id = 0;
    346346  }
    347347
    348   g->tw = owl_editwin_new(owl_global_get_curs_typwin(g),
     348  g->tw = owl_editwin_new(owl_global_get_typwin_window(g),
    349349                          owl_global_get_typwin_lines(g),
    350350                          g->cols,
     
    361361  if (!g->typwin_erase_id) {
    362362    g->typwin_erase_id =
    363       g_signal_connect(owl_global_get_curs_typwin(g), "redraw", G_CALLBACK(owl_window_erase_cb), NULL);
    364   }
    365   owl_window_dirty(owl_global_get_curs_typwin(g));
     363      g_signal_connect(owl_global_get_typwin_window(g), "redraw", G_CALLBACK(owl_window_erase_cb), NULL);
     364  }
     365  owl_window_dirty(owl_global_get_typwin_window(g));
    366366
    367367  g->tw = NULL;
Note: See TracChangeset for help on using the changeset viewer.