[glib] Fix ABI compatibility
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix ABI compatibility
- Date: Fri, 20 May 2016 11:11:13 +0000 (UTC)
commit 17e5281ca938f334abceee920759bc2329daa1f0
Author: Ondrej Holy <oholy redhat com>
Date: Fri May 20 12:27:12 2016 +0200
Fix ABI compatibility
Commit 7b3f6da broke ABI compatibility, because of newly added vfunc.
Move the vfunc to the end to ensure ABI compatibility.
https://bugzilla.gnome.org/show_bug.cgi?id=765924
gio/gdrive.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gdrive.h b/gio/gdrive.h
index 371f504..67df80e 100644
--- a/gio/gdrive.h
+++ b/gio/gdrive.h
@@ -91,7 +91,6 @@ struct _GDriveIface
GIcon * (* get_icon) (GDrive *drive);
gboolean (* has_volumes) (GDrive *drive);
GList * (* get_volumes) (GDrive *drive);
- gboolean (* is_removable) (GDrive *drive);
gboolean (* is_media_removable) (GDrive *drive);
gboolean (* has_media) (GDrive *drive);
gboolean (* is_media_check_automatic) (GDrive *drive);
@@ -156,6 +155,7 @@ struct _GDriveIface
const gchar * (* get_sort_key) (GDrive *drive);
GIcon * (* get_symbolic_icon) (GDrive *drive);
+ gboolean (* is_removable) (GDrive *drive);
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]