1.1 --- a/gmyth/debian/changelog Tue Apr 17 15:13:48 2007 +0100
1.2 +++ b/gmyth/debian/changelog Tue Apr 17 15:17:26 2007 +0100
1.3 @@ -1,3 +1,9 @@
1.4 +gmyth (0.3) unstable; urgency=low
1.5 +
1.6 + * Update file_reader an serveral bug fixes;
1.7 +
1.8 + -- Renato Araujo <renato.filho@indt.org.br> Thu, 12 Apr 2007 14:46:08 -0300
1.9 +
1.10 gmyth (0.2) unstable; urgency=low
1.11
1.12 * Included several http_requests in order to replace mysql queries (MythProtocol >= 33)
2.1 --- a/gmyth/src/gmyth.h Tue Apr 17 15:13:48 2007 +0100
2.2 +++ b/gmyth/src/gmyth.h Tue Apr 17 15:17:26 2007 +0100
2.3 @@ -33,6 +33,8 @@
2.4 #include <gmyth_common.h>
2.5 #include <gmyth_debug.h>
2.6 #include <gmyth_epg.h>
2.7 +#include <gmyth_file.h>
2.8 +#include <gmyth_file_local.h>
2.9 #include <gmyth_file_transfer.h>
2.10 #include <gmyth_livetv.h>
2.11 #include <gmyth_monitor_handler.h>
3.1 --- a/gmyth/src/gmyth_query.c Tue Apr 17 15:13:48 2007 +0100
3.2 +++ b/gmyth/src/gmyth_query.c Tue Apr 17 15:17:26 2007 +0100
3.3 @@ -138,8 +138,10 @@
3.4 g_return_val_if_fail (backend_info->password != NULL, FALSE);
3.5 g_return_val_if_fail (backend_info->db_name != NULL, FALSE);
3.6
3.7 - g_object_ref (backend_info);
3.8 - gmyth_query->backend_info = backend_info;
3.9 + if (gmyth_query->backend_info != NULL) {
3.10 + g_object_unref (gmyth_query->backend_info);
3.11 + }
3.12 + gmyth_query->backend_info = g_object_ref (backend_info);
3.13
3.14 if (gmyth_query->conn == NULL) {
3.15 gmyth_query->conn = mysql_init (NULL);
4.1 --- a/gmyth/src/gmyth_scheduler.c Tue Apr 17 15:13:48 2007 +0100
4.2 +++ b/gmyth/src/gmyth_scheduler.c Tue Apr 17 15:17:26 2007 +0100
4.3 @@ -164,8 +164,10 @@
4.4 assert(scheduler);
4.5 g_return_val_if_fail (backend_info != NULL, FALSE);
4.6
4.7 - g_object_ref (backend_info);
4.8 - scheduler->backend_info = backend_info;
4.9 + if (scheduler->backend_info)
4.10 + g_object_unref (scheduler->backend_info);
4.11 +
4.12 + scheduler->backend_info = g_object_ref (backend_info);
4.13
4.14 if (scheduler->msqlquery == NULL) {
4.15 g_warning ("[%s] GMythScheduler db initializing", __FUNCTION__);