rhythmbox r5618 - in trunk: . bindings/python



Author: jmatthew
Date: Sat Mar 15 12:00:10 2008
New Revision: 5618
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=5618&view=rev

Log:
2008-03-15  Jonathan Matthew  <jonathan d14n org>

	* bindings/python/rhythmdb.defs:
	* bindings/python/rhythmdb.override:
	Fix bindings for RhythmDBImportJob so it might be usable from python.


Modified:
   trunk/ChangeLog
   trunk/bindings/python/rhythmdb.defs
   trunk/bindings/python/rhythmdb.override

Modified: trunk/bindings/python/rhythmdb.defs
==============================================================================
--- trunk/bindings/python/rhythmdb.defs	(original)
+++ trunk/bindings/python/rhythmdb.defs	Sat Mar 15 12:00:10 2008
@@ -64,6 +64,13 @@
   (gtype-id "RB_TYPE_STRING_VALUE_MAP")
 )
 
+(define-object ImportJob
+  (in-module "RhythmDB")
+  (parent "GObject")
+  (c-name "RhythmDBImportJob")
+  (gtype-id "RHYTHMDB_TYPE_IMPORT_JOB")
+)
+
 
 ;; Enumerations and flags ...
 
@@ -1148,9 +1155,9 @@
   (c-name "rhythmdb_import_job_new")
   (return-type "RhythmDBImportJob*")
   (parameters
-    '("RhythmDBEntryType" "entry_type")
-    '("RhythmDBEntryType" "ignore_type")
-    '("RhythmDBEntryType" "error_type")
+    '("RhythmDBEntryType_*" "entry_type")
+    '("RhythmDBEntryType_*" "ignore_type")
+    '("RhythmDBEntryType_*" "error_type")
   )
 )
 

Modified: trunk/bindings/python/rhythmdb.override
==============================================================================
--- trunk/bindings/python/rhythmdb.override	(original)
+++ trunk/bindings/python/rhythmdb.override	Sat Mar 15 12:00:10 2008
@@ -14,6 +14,7 @@
 #include "rhythmdb-property-model.h"
 #include "rhythmdb-query-model.h"
 #include "rhythmdb-query-results.h"
+#include "rhythmdb-import-job.h"
 
 
 #if PY_VERSION_HEX < 0x02050000



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]