Changeset 69873f7 for viewwin.c


Ignore:
Timestamp:
Jun 1, 2010, 3:21:43 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
0b9e607
Parents:
d70f45f
Message:
The viewwin should take references to its window
File:
1 edited

Legend:

Unmodified
Added
Removed
  • viewwin.c

    r7a6e6c7 r69873f7  
    5454  if (v->window) {
    5555    g_signal_handler_disconnect(v->window, v->sig_redraw_id);
     56    g_object_unref(v->window);
    5657  }
    5758  v->window = w;
    5859  if (w) {
     60    g_object_ref(v->window);
    5961    v->sig_redraw_id = g_signal_connect(w, "redraw", G_CALLBACK(owl_viewwin_redisplay), v);
    6062  }
Note: See TracChangeset for help on using the changeset viewer.