Changeset a8186dc


Ignore:
Timestamp:
Sep 18, 2010, 5:07:39 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
005eae5
Parents:
60c1386
git-author:
David Benjamin <davidben@mit.edu> (08/01/10 16:37:44)
git-committer:
David Benjamin <davidben@mit.edu> (09/18/10 17:07:39)
Message:
owl_editwin should own a reference to its window
File:
1 edited

Legend:

Unmodified
Added
Removed
  • editwin.c

    r335413f1 ra8186dc  
    8282    g_signal_handler_disconnect(e->win, e->repaint_id);
    8383    g_signal_handler_disconnect(e->win, e->resized_id);
     84    g_object_unref(e->win);
    8485  }
    8586  owl_free(e->buff);
     
    171172    e->wrapcol = 0;
    172173  if (e->win) {
     174    g_object_ref(e->win);
    173175    e->repaint_id = g_signal_connect(w, "redraw", G_CALLBACK(oe_redraw), e);
    174176    e->resized_id = g_signal_connect(w, "resized", G_CALLBACK(oe_window_resized), e);
Note: See TracChangeset for help on using the changeset viewer.