Merge lp:~cimi/overlay-scrollbar/fix-emacs-unrealize-after-dispose into lp:overlay-scrollbar

Proposed by Andrea Cimitan
Status: Merged
Approved by: Ted Gould
Approved revision: 264
Merged at revision: 265
Proposed branch: lp:~cimi/overlay-scrollbar/fix-emacs-unrealize-after-dispose
Merge into: lp:overlay-scrollbar
Diff against target: 15 lines (+5/-0)
1 file modified
os/os-pager.c (+5/-0)
To merge this branch: bzr merge lp:~cimi/overlay-scrollbar/fix-emacs-unrealize-after-dispose
Reviewer Review Type Date Requested Status
Ted Gould (community) Approve
Review via email: mp+65989@code.launchpad.net

Description of the change

See commit

To post a comment you must log in.
Revision history for this message
Ted Gould (ted) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'os/os-pager.c'
2--- os/os-pager.c 2011-06-15 12:07:47 +0000
3+++ os/os-pager.c 2011-06-27 13:51:29 +0000
4@@ -375,6 +375,11 @@
5
6 g_return_if_fail (OS_PAGER (pager));
7
8+ /* return if pager is NULL, happens on emacs23,
9+ * when emacs calls unrealize after dispose. */
10+ if (pager == NULL)
11+ return;
12+
13 priv = pager->priv;
14
15 priv->visible = FALSE;

Subscribers

People subscribed via source and target branches