[Xfce4-commits] [apps/xfdashboard] 01/03: Move XfdashboardApplicationErrorCode to XfdashboardApplication
noreply at xfce.org
noreply at xfce.org
Thu Aug 13 20:57:36 CEST 2015
This is an automated email from the git hooks/post-receive script.
nomad pushed a commit to branch master
in repository apps/xfdashboard.
commit 9e5232fc8da05096aad1cb4ab4974334f1bad4b8
Author: Stephan Haller <nomad at froevel.de>
Date: Thu Aug 13 20:41:17 2015 +0200
Move XfdashboardApplicationErrorCode to XfdashboardApplication
---
xfdashboard/application.h | 21 +++++++++++++++++++++
xfdashboard/types.h | 17 -----------------
xfdashboard/view.h | 1 +
3 files changed, 22 insertions(+), 17 deletions(-)
diff --git a/xfdashboard/application.h b/xfdashboard/application.h
index a1496c3..2a7164f 100644
--- a/xfdashboard/application.h
+++ b/xfdashboard/application.h
@@ -32,6 +32,26 @@
G_BEGIN_DECLS
+/* Public definitions */
+/**
+ * XfdashboardApplicationErrorCode:
+ * @XFDASHBOARD_APPLICATION_ERROR_NONE: Application started successfully without any problems
+ * @XFDASHBOARD_APPLICATION_ERROR_FAILED: Application failed to start
+ * @XFDASHBOARD_APPLICATION_ERROR_RESTART: Application needs to be restarted to start-up successfully
+ * @XFDASHBOARD_APPLICATION_ERROR_QUIT: Application was quitted and shuts down
+ *
+ * The start-up status codes returned by XfdashboardApplication.
+ */
+typedef enum /*< skip,prefix=XFDASHBOARD_APPLICATION_ERROR >*/
+{
+ XFDASHBOARD_APPLICATION_ERROR_NONE=0,
+ XFDASHBOARD_APPLICATION_ERROR_FAILED,
+ XFDASHBOARD_APPLICATION_ERROR_RESTART,
+ XFDASHBOARD_APPLICATION_ERROR_QUIT
+} XfdashboardApplicationErrorCode;
+
+
+/* Object declaration */
#define XFDASHBOARD_TYPE_APPLICATION (xfdashboard_application_get_type())
#define XFDASHBOARD_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), XFDASHBOARD_TYPE_APPLICATION, XfdashboardApplication))
#define XFDASHBOARD_IS_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), XFDASHBOARD_TYPE_APPLICATION))
@@ -69,6 +89,7 @@ struct _XfdashboardApplicationClass
void (*theme_changed)(XfdashboardApplication *self, XfdashboardTheme *inTheme);
};
+
/* Public API */
GType xfdashboard_application_get_type(void) G_GNUC_CONST;
diff --git a/xfdashboard/types.h b/xfdashboard/types.h
index c11ca4a..d7c3633 100644
--- a/xfdashboard/types.h
+++ b/xfdashboard/types.h
@@ -38,23 +38,6 @@
G_BEGIN_DECLS
/**
- * XfdashboardApplicationErrorCode:
- * @XFDASHBOARD_APPLICATION_ERROR_NONE: Application started successfully without any problems
- * @XFDASHBOARD_APPLICATION_ERROR_FAILED: Application failed to start
- * @XFDASHBOARD_APPLICATION_ERROR_RESTART: Application needs to be restarted to start-up successfully
- * @XFDASHBOARD_APPLICATION_ERROR_QUIT: Application was quitted and shuts down
- *
- * The start-up status codes returned by XfdashboardApplication.
- */
-typedef enum /*< skip,prefix=XFDASHBOARD_APPLICATION_ERROR >*/
-{
- XFDASHBOARD_APPLICATION_ERROR_NONE=0,
- XFDASHBOARD_APPLICATION_ERROR_FAILED,
- XFDASHBOARD_APPLICATION_ERROR_RESTART,
- XFDASHBOARD_APPLICATION_ERROR_QUIT
-} XfdashboardApplicationErrorCode;
-
-/**
* XfdashboardViewMode:
* @XFDASHBOARD_VIEW_MODE_LIST: Show items in view as list
* @XFDASHBOARD_VIEW_MODE_ICON: Show items in view as icons
diff --git a/xfdashboard/view.h b/xfdashboard/view.h
index 3be7dad..c4bf116 100644
--- a/xfdashboard/view.h
+++ b/xfdashboard/view.h
@@ -107,6 +107,7 @@ struct _XfdashboardViewClass
ClutterEvent *inEvent);
};
+
/* Public API */
GType xfdashboard_view_get_type(void) G_GNUC_CONST;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list