[libpeas] Delete libpeas-gtk's TestingBuiltinPlugin
- From: Garrett Regier <gregier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Delete libpeas-gtk's TestingBuiltinPlugin
- Date: Sat, 20 Dec 2014 18:22:03 +0000 (UTC)
commit 001fa77065738e1ea105424c3b8b5f8e27c0c178
Author: Garrett Regier <garrettregier gmail com>
Date: Sat Dec 20 09:51:58 2014 -0800
Delete libpeas-gtk's TestingBuiltinPlugin
One already exists in the shared plugins.
.../plugins/builtin-configurable/Makefile.am | 2 -
.../builtin-configurable/builtin-configurable.c | 10 +-
.../builtin-configurable/builtin-configurable.h | 4 +-
.../plugins/builtin-configurable/builtin-plugin.c | 149 --------------------
.../plugins/builtin-configurable/builtin-plugin.h | 55 -------
5 files changed, 9 insertions(+), 211 deletions(-)
---
diff --git a/tests/libpeas-gtk/plugins/builtin-configurable/Makefile.am
b/tests/libpeas-gtk/plugins/builtin-configurable/Makefile.am
index c901027..c6f3fb5 100644
--- a/tests/libpeas-gtk/plugins/builtin-configurable/Makefile.am
+++ b/tests/libpeas-gtk/plugins/builtin-configurable/Makefile.am
@@ -10,8 +10,6 @@ AM_CPPFLAGS = \
noinst_LTLIBRARIES = libbuiltin-configurable.la
libbuiltin_configurable_la_SOURCES = \
- builtin-plugin.c \
- builtin-plugin.h \
builtin-configurable.c \
builtin-configurable.h
diff --git a/tests/libpeas-gtk/plugins/builtin-configurable/builtin-configurable.c
b/tests/libpeas-gtk/plugins/builtin-configurable/builtin-configurable.c
index e7a2b06..ed4d929 100644
--- a/tests/libpeas-gtk/plugins/builtin-configurable/builtin-configurable.c
+++ b/tests/libpeas-gtk/plugins/builtin-configurable/builtin-configurable.c
@@ -68,8 +68,12 @@ testing_builtin_configurable_class_finalize (TestingBuiltinConfigurableClass *kl
{
}
-void
-testing_builtin_configurable_register (GTypeModule *module)
+G_MODULE_EXPORT void
+peas_register_types (PeasObjectModule *module)
{
- testing_builtin_configurable_register_type (module);
+ testing_builtin_configurable_register_type (G_TYPE_MODULE (module));
+
+ peas_object_module_register_extension_type (module,
+ PEAS_GTK_TYPE_CONFIGURABLE,
+ TESTING_TYPE_BUILTIN_CONFIGURABLE);
}
diff --git a/tests/libpeas-gtk/plugins/builtin-configurable/builtin-configurable.h
b/tests/libpeas-gtk/plugins/builtin-configurable/builtin-configurable.h
index 35ead08..16e5ca4 100644
--- a/tests/libpeas-gtk/plugins/builtin-configurable/builtin-configurable.h
+++ b/tests/libpeas-gtk/plugins/builtin-configurable/builtin-configurable.h
@@ -44,8 +44,8 @@ struct _TestingBuiltinConfigurableClass {
PeasExtensionBaseClass parent_class;
};
-GType testing_builtin_configurable_get_type (void) G_GNUC_CONST;
-void testing_builtin_configurable_register (GTypeModule *module);
+GType testing_builtin_configurable_get_type (void) G_GNUC_CONST;
+G_MODULE_EXPORT void peas_register_types (PeasObjectModule *module);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]