pygobject r1064 - in trunk: . gio



Author: paulp
Date: Tue Apr 14 21:11:28 2009
New Revision: 1064
URL: http://svn.gnome.org/viewvc/pygobject?rev=1064&view=rev

Log:
2009-04-15  Paul Pogonyshev  <pogonyshev gmx net>

	Bug 555613 â gio.VolumeMonitor segfaults

	* gio/gvolumemonitor.override (_wrap_g_volume_monitor_tp_new): New
	function, return the singleton object.


Modified:
   trunk/ChangeLog
   trunk/gio/gvolumemonitor.override

Modified: trunk/gio/gvolumemonitor.override
==============================================================================
--- trunk/gio/gvolumemonitor.override	(original)
+++ trunk/gio/gvolumemonitor.override	Tue Apr 14 21:11:28 2009
@@ -20,6 +20,13 @@
  * USA
  */
 %%
+override-slot GVolumeMonitor.tp_new
+static PyObject *
+_wrap_g_volume_monitor_tp_new(PyObject *type, PyObject *args, PyObject *kwargs)
+{
+    return pygobject_new(G_OBJECT(g_volume_monitor_get()));
+}
+%%
 override g_volume_monitor_get_connected_drives noargs
 static PyObject *
 _wrap_g_volume_monitor_get_connected_drives (PyGObject *self)



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