disconnect from the right object ("closed" is emitted by the display, not

2006-01-10  Michael Natterer  <mitch@imendio.com>

	* gdk/gdkpango.c (on_renderer_display_closed): disconnect from the
	right object ("closed" is emitted by the display, not the screen).
	(bug #85715)
This commit is contained in:
Michael Natterer 2006-01-10 16:47:37 +00:00 committed by Michael Natterer
parent c18f7da40d
commit 65c8f103d6
3 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2006-01-10 Michael Natterer <mitch@imendio.com>
* gdk/gdkpango.c (on_renderer_display_closed): disconnect from the
right object ("closed" is emitted by the display, not the screen).
(bug #85715)
2006-01-10 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkproperty-quartz.c:

View File

@ -1,3 +1,9 @@
2006-01-10 Michael Natterer <mitch@imendio.com>
* gdk/gdkpango.c (on_renderer_display_closed): disconnect from the
right object ("closed" is emitted by the display, not the screen).
(bug #85715)
2006-01-10 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkproperty-quartz.c:

View File

@ -544,10 +544,10 @@ on_renderer_display_closed (GdkDisplay *display,
gboolean is_error,
GdkPangoRenderer *renderer)
{
g_signal_handlers_disconnect_by_func (renderer->priv->screen,
(gpointer)on_renderer_display_closed,
g_signal_handlers_disconnect_by_func (display,
on_renderer_display_closed,
renderer);
g_object_set_data (G_OBJECT (renderer->priv->screen),
g_object_set_data (G_OBJECT (renderer->priv->screen),
g_intern_static_string ("gdk-pango-renderer"), NULL);
}