ekiga r6424 - trunk/lib/gui
- From: jpuydt svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r6424 - trunk/lib/gui
- Date: Sun, 29 Jun 2008 07:02:38 +0000 (UTC)
Author: jpuydt
Date: Sun Jun 29 07:02:38 2008
New Revision: 6424
URL: http://svn.gnome.org/viewvc/ekiga?rev=6424&view=rev
Log:
Another try at fixing gm_powermeter_dispose
Modified:
trunk/lib/gui/gmpowermeter.c
Modified: trunk/lib/gui/gmpowermeter.c
==============================================================================
--- trunk/lib/gui/gmpowermeter.c (original)
+++ trunk/lib/gui/gmpowermeter.c Sun Jun 29 07:02:38 2008
@@ -59,15 +59,20 @@
static void
gm_powermeter_dispose (GObject *obj)
{
- g_object_unref (((GmPowermeter*)obj)->iconset->iconv[0]);
+ if (((GmPowermeter*)obj)->iconset->iconv[0])
+ g_object_unref (((GmPowermeter*)obj)->iconset->iconv[0]);
((GmPowermeter*)obj)->iconset->iconv[0] = NULL;
- g_object_unref (((GmPowermeter*)obj)->iconset->iconv[1]);
+ if (((GmPowermeter*)obj)->iconset->iconv[1])
+ g_object_unref (((GmPowermeter*)obj)->iconset->iconv[1]);
((GmPowermeter*)obj)->iconset->iconv[1] = NULL;
- g_object_unref (((GmPowermeter*)obj)->iconset->iconv[2]);
+ if (((GmPowermeter*)obj)->iconset->iconv[2])
+ g_object_unref (((GmPowermeter*)obj)->iconset->iconv[2]);
((GmPowermeter*)obj)->iconset->iconv[2] = NULL;
- g_object_unref (((GmPowermeter*)obj)->iconset->iconv[3]);
+ if (((GmPowermeter*)obj)->iconset->iconv[3])
+ g_object_unref (((GmPowermeter*)obj)->iconset->iconv[3]);
((GmPowermeter*)obj)->iconset->iconv[3] = NULL;
- g_object_unref (((GmPowermeter*)obj)->iconset->iconv[4]);
+ if (((GmPowermeter*)obj)->iconset->iconv[4])
+ g_object_unref (((GmPowermeter*)obj)->iconset->iconv[4]);
((GmPowermeter*)obj)->iconset->iconv[4] = NULL;
parent_class->dispose (obj);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]