Revision: 875
http://gmyth.svn.sourceforge.net/gmyth/?rev=875&view=rev
Author: renatofilho
Date: 2007-10-25 07:38:08 -0700 (Thu, 25 Oct 2007)
Log Message:
-----------
fixed channel icon
Modified Paths:
--------------
trunk/myth-dbus/src/gmyth-dbus-server.c
Modified: trunk/myth-dbus/src/gmyth-dbus-server.c
===================================================================
--- trunk/myth-dbus/src/gmyth-dbus-server.c 2007-10-25 14:28:35 UTC (rev 874)
+++ trunk/myth-dbus/src/gmyth-dbus-server.c 2007-10-25 14:38:08 UTC (rev 875)
@@ -407,6 +407,7 @@
GError **error)
{
GMythDbusServerPrivate *priv;
+ g_debug ("%s:%d", __FUNCTION__, __LINE__);
priv = GMYTH_DBUS_SERVER_GET_PRIVATE (obj);
g_return_val_if_fail (priv->myth_backend, FALSE);
@@ -437,7 +438,6 @@
g_return_val_if_fail (priv->myth_backend, FALSE);
g_return_val_if_fail (gmyth_dbus_server_connect_epg (GMYTH_DBUS_SERVER (obj)), FALSE);
-
g_time_val_from_iso8601 (start_time, &start_time_val);
g_time_val_from_iso8601 (end_time, &end_time_val);
@@ -460,6 +460,9 @@
data = (GMythProgramInfo *) walk->data;
+ if (!data)
+ continue;
+
g_value_init (&program, program_type);
g_value_take_boxed (&program,
dbus_g_type_specialized_construct (program_type));
@@ -482,7 +485,10 @@
g_free (end_str);
}
- gmyth_free_program_list (list);
+ if (list)
+ gmyth_free_program_list (list);
+
+ g_debug ("%s:%d", __FUNCTION__, __LINE__);
return TRUE;
}
@@ -593,6 +599,7 @@
gmyth_dbus_server_parse_recorded_info (data, &record);
g_ptr_array_add (*records, g_value_get_boxed (&record));
+ //g_value_unset (&record);
}
gmyth_recorded_info_list_free (list);
@@ -678,8 +685,6 @@
priv = GMYTH_DBUS_SERVER_GET_PRIVATE (obj);
- g_debug ("getting icon: %s", uri);
-
g_return_val_if_fail (priv->myth_backend, FALSE);
if (!gmyth_util_file_exists (priv->myth_backend, uri))
@@ -708,6 +713,8 @@
return TRUE;
fail:
+ if (*image)
+ g_byte_array_free (*image, TRUE);
g_object_unref(file_transfer);
return FALSE;
}
@@ -958,6 +965,7 @@
{
GMythDbusServerPrivate *priv;
+ g_debug ("%s:%d", __FUNCTION__, __LINE__);
priv = GMYTH_DBUS_SERVER_GET_PRIVATE (obj);
g_return_val_if_fail (priv->myth_backend, FALSE);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|