[libpeas] Use single-includes in the peas-demo application.
- From: Steve Frécinaux <sfre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Use single-includes in the peas-demo application.
- Date: Thu, 1 Jul 2010 23:05:05 +0000 (UTC)
commit 66341e2586a2ce00d293b6d96abbae6926ca2189
Author: Steve Frécinaux <code istique net>
Date: Fri Jul 2 01:03:35 2010 +0200
Use single-includes in the peas-demo application.
peas-demo/peas-demo-window.c | 1 -
peas-demo/peas-demo-window.h | 3 +--
peas-demo/peas-demo.c | 4 ++--
.../helloworld/peasdemo-hello-world-plugin.c | 4 ++--
.../helloworld/peasdemo-hello-world-plugin.h | 4 +---
5 files changed, 6 insertions(+), 10 deletions(-)
---
diff --git a/peas-demo/peas-demo-window.c b/peas-demo/peas-demo-window.c
index a0d06d3..5147456 100644
--- a/peas-demo/peas-demo-window.c
+++ b/peas-demo/peas-demo-window.c
@@ -24,7 +24,6 @@
#endif
#include "peas-demo-window.h"
-#include <libpeas/peas-activatable.h>
G_DEFINE_TYPE (DemoWindow, demo_window, GTK_TYPE_WINDOW);
diff --git a/peas-demo/peas-demo-window.h b/peas-demo/peas-demo-window.h
index 76a9e00..a0d09ca 100644
--- a/peas-demo/peas-demo-window.h
+++ b/peas-demo/peas-demo-window.h
@@ -23,8 +23,7 @@
#define __PEAS_DEMO_WINDOW_H__
#include <gtk/gtk.h>
-#include <libpeas/peas-engine.h>
-#include <libpeas/peas-extension-set.h>
+#include <libpeas/peas.h>
G_BEGIN_DECLS
diff --git a/peas-demo/peas-demo.c b/peas-demo/peas-demo.c
index 58cfe17..b36a590 100644
--- a/peas-demo/peas-demo.c
+++ b/peas-demo/peas-demo.c
@@ -1,7 +1,7 @@
#include <gtk/gtk.h>
#include <girepository.h>
-#include <libpeas/peas-engine.h>
-#include <libpeasui/peas-ui-plugin-manager.h>
+#include <libpeas/peas.h>
+#include <libpeasui/peas-ui.h>
#include "peas-demo-window.h"
diff --git a/peas-demo/plugins/helloworld/peasdemo-hello-world-plugin.c b/peas-demo/plugins/helloworld/peasdemo-hello-world-plugin.c
index effd081..186f1b5 100644
--- a/peas-demo/plugins/helloworld/peasdemo-hello-world-plugin.c
+++ b/peas-demo/plugins/helloworld/peasdemo-hello-world-plugin.c
@@ -3,8 +3,8 @@
#include <gmodule.h>
#include <gtk/gtk.h>
-#include <libpeas/peas-activatable.h>
-#include <libpeasui/peas-ui-configurable.h>
+#include <libpeas/peas.h>
+#include <libpeasui/peas-ui.h>
#include "peasdemo-hello-world-plugin.h"
diff --git a/peas-demo/plugins/helloworld/peasdemo-hello-world-plugin.h b/peas-demo/plugins/helloworld/peasdemo-hello-world-plugin.h
index e384cc6..4148785 100644
--- a/peas-demo/plugins/helloworld/peasdemo-hello-world-plugin.h
+++ b/peas-demo/plugins/helloworld/peasdemo-hello-world-plugin.h
@@ -3,9 +3,7 @@
#include <glib.h>
#include <glib-object.h>
-#include <libpeas/peas-extension-base.h>
-#include <libpeas/peas-plugin-info.h>
-#include <libpeas/peas-object-module.h>
+#include <libpeas/peas.h>
G_BEGIN_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]