Use g_object_unref to free GConfClient.

2002-02-02  Jens Finke <jens@triq.net>

	* eog-image-view.c (eog_image_view_destroy): Use g_object_unref to
	free GConfClient.
This commit is contained in:
Jens Finke 2002-02-02 17:23:40 +00:00 committed by Jens Finke
parent cb205f3417
commit 9923454889
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2002-02-02 Jens Finke <jens@triq.net>
* eog-image-view.c (eog_image_view_destroy): Use g_object_unref to
free GConfClient.
2002-01-30 Jens Finke <jens@triq.net>
* eog-control.c (eog_control_destroy): Removed 'Beware:' comment

View file

@ -4,8 +4,10 @@
*
* Authors:
* Martin Baulig (baulig@suse.de)
* Jens Finke (jens@triq.net)
*
* Copyright 2000 SuSE GmbH.
* Copyright 2001-2002 Free Software Foundation
*/
#include <config.h>
@ -1803,7 +1805,7 @@ eog_image_view_destroy (BonoboObject *object)
image_view = EOG_IMAGE_VIEW (object);
priv = image_view->priv;
gtk_object_unref (GTK_OBJECT (priv->client));
g_object_unref (G_OBJECT (priv->client));
bonobo_object_unref (BONOBO_OBJECT (priv->property_bag));
bonobo_object_unref (BONOBO_OBJECT (priv->image));