diff options
author | Garrett Regier <garrettregier@gmail.com> | 2011-12-08 08:09:56 -0800 |
---|---|---|
committer | Garrett Regier <garrettregier@gmail.com> | 2011-12-08 08:09:56 -0800 |
commit | 974037f20e1d299a4add2e425ee8f7a1bf466b59 (patch) | |
tree | 768689921632e6842a906df31d80c4a138a61587 /libpeas/peas-plugin-info.c | |
parent | 7c3a39a988f78c9b317760a271f4962b6d36de2a (diff) | |
download | libpeas-974037f20e1d299a4add2e425ee8f7a1bf466b59.tar.gz |
Bump glib version to 2.28
Diffstat (limited to 'libpeas/peas-plugin-info.c')
-rw-r--r-- | libpeas/peas-plugin-info.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/libpeas/peas-plugin-info.c b/libpeas/peas-plugin-info.c index 0dcff4e..1eef90a 100644 --- a/libpeas/peas-plugin-info.c +++ b/libpeas/peas-plugin-info.c @@ -60,6 +60,10 @@ * ]| **/ +G_DEFINE_BOXED_TYPE (PeasPluginInfo, peas_plugin_info, + _peas_plugin_info_ref, + _peas_plugin_info_unref) + PeasPluginInfo * _peas_plugin_info_ref (PeasPluginInfo *info) { @@ -92,18 +96,6 @@ _peas_plugin_info_unref (PeasPluginInfo *info) g_free (info); } -GType -peas_plugin_info_get_type (void) -{ - static GType the_type = 0; - - if (G_UNLIKELY (!the_type)) - the_type = g_boxed_type_register_static (g_intern_static_string ("PeasPluginInfo"), - (GBoxedCopyFunc) _peas_plugin_info_ref, - (GBoxedFreeFunc) _peas_plugin_info_unref); - - return the_type; -} GQuark peas_plugin_info_error_quark (void) |