repo: Make OSTreeCommitModifier introspectable

Callbacks need GDestroyNotifies to be usable from bindings.

https://bugzilla.gnome.org/show_bug.cgi?id=707644
This commit is contained in:
Jasper St. Pierre committed 2013-09-06 20:28:42 -04:00
1 parent f5f7fe5e9a
commit b36e61f813
3 files changed
+11 -3

No files matched your search

+2 -1
View File
@@ -272,7 +272,8 @@ typedef struct OstreeRepoCommitModifier OstreeRepoCommitModifier;
OstreeRepoCommitModifier *ostree_repo_commit_modifier_new (OstreeRepoCommitModifierFlags flags,
OstreeRepoCommitFilter commit_filter,
gpointer user_data);
gpointer user_data,
GDestroyNotify destroy_notify);
GType ostree_repo_commit_modifier_get_type (void);