glibmm r616 - in trunk: . gio/src
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: glibmm r616 - in trunk: . gio/src
- Date: Fri, 22 Feb 2008 12:24:45 +0000 (GMT)
Author: murrayc
Date: Fri Feb 22 12:24:44 2008
New Revision: 616
URL: http://svn.gnome.org/viewvc/glibmm?rev=616&view=rev
Log:
2008-02-22 Murray Cumming <murrayc murrayc com>
* gio/src/fileattributeinfolist.hg: Added dup().
* gio/src/gio_others.defs: Added signals for GMount and GVolume.
This deals with the gmmproc warnings.
Modified:
trunk/ChangeLog
trunk/gio/src/fileattributeinfolist.hg
trunk/gio/src/gio_others.defs
trunk/gio/src/mount.hg
Modified: trunk/gio/src/fileattributeinfolist.hg
==============================================================================
--- trunk/gio/src/fileattributeinfolist.hg (original)
+++ trunk/gio/src/fileattributeinfolist.hg Fri Feb 22 12:24:44 2008
@@ -71,6 +71,8 @@
FileAttributeInfo lookup(const std::string& name) const;
_IGNORE(g_file_attribute_info_list_lookup)
+ _WRAP_METHOD(Glib::RefPtr<FileAttributeInfoList> dup() const, g_file_attribute_info_list_dup)
+
_WRAP_METHOD(void add(const std::string& name, FileAttributeType type, FileAttributeInfoFlags flags = FILE_ATTRIBUTE_INFO_NONE), g_file_attribute_info_list_add)
};
Modified: trunk/gio/src/gio_others.defs
==============================================================================
--- trunk/gio/src/gio_others.defs (original)
+++ trunk/gio/src/gio_others.defs Fri Feb 22 12:24:44 2008
@@ -3,3 +3,32 @@
(c-name "g_themed_icon_get_names")
(return-type "const-char*const*")
)
+
+
+; extra_defs does not generate these, for some reason. murrayc:
+(define-signal changed
+ (of-object "GMount")
+ (return-type "void")
+ (when "last")
+)
+
+(define-signal unmounted
+ (of-object "GMount")
+ (return-type "void")
+ (when "last")
+)
+
+; extra_defs does not generate these, for some reason. murrayc:
+(define-signal changed
+ (of-object "GVolume")
+ (return-type "void")
+ (when "last")
+)
+
+(define-signal removed
+ (of-object "GVolume")
+ (return-type "void")
+ (when "last")
+)
+
+
Modified: trunk/gio/src/mount.hg
==============================================================================
--- trunk/gio/src/mount.hg (original)
+++ trunk/gio/src/mount.hg Fri Feb 22 12:24:44 2008
@@ -165,14 +165,10 @@
_WRAP_METHOD(bool eject_finish(const Glib::RefPtr<AsyncResult>& result), g_mount_eject_finish, errthrow)
- //TODO: For some reason these are not in gio_signals.defs. We may need to hand-write them in gio_others.defs. murrayc.
_WRAP_SIGNAL(void changed(), changed)
_WRAP_SIGNAL(void unmounted(), unmounted)
//There are no properties.
-
- //TODO: vfuncs.
-
};
} // namespace Gio
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]