[libwnck] core: Move WnckMotionDirection from screen.h to workspace.h
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck] core: Move WnckMotionDirection from screen.h to workspace.h
- Date: Thu, 20 Jan 2011 15:37:29 +0000 (UTC)
commit e719435dc2753ac05ad3df4e4a5ab5e47a75dc0d
Author: Vincent Untz <vuntz gnome org>
Date: Thu Jan 20 00:44:58 2011 +0100
core: Move WnckMotionDirection from screen.h to workspace.h
That's where it makes sense now.
libwnck/screen.h | 25 -------------------------
libwnck/workspace.h | 23 +++++++++++++++++++++++
2 files changed, 23 insertions(+), 25 deletions(-)
---
diff --git a/libwnck/screen.h b/libwnck/screen.h
index 23e9cff..4c0c8ff 100644
--- a/libwnck/screen.h
+++ b/libwnck/screen.h
@@ -152,31 +152,6 @@ struct _WnckWorkspaceLayout
#endif /* WNCK_DISABLE_DEPRECATED */
/**
- * WnckMotionDirection:
- * @WNCK_MOTION_UP: search a neighbor #WnckWorkspace above another
- * #WnckWorkspace.
- * @WNCK_MOTION_DOWN: search a neighbor #WnckWorkspace below another
- * #WnckWorkspace.
- * @WNCK_MOTION_LEFT: search a neighbor #WnckWorkspace at the left of another
- * #WnckWorkspace.
- * @WNCK_MOTION_RIGHT: search a neighbor #WnckWorkspace at the right of another
- * #WnckWorkspace.
- *
- * Type defining a direction in which to search a neighbor #WnckWorkspace.
- *
- * Since: 2.14
- */
-/* TODO: move this to workspace.h when we break API and remove
- * wnck_screen_get_workspace_neighbor() */
-typedef enum
-{
- WNCK_MOTION_UP = -1,
- WNCK_MOTION_DOWN = -2,
- WNCK_MOTION_LEFT = -3,
- WNCK_MOTION_RIGHT = -4
-} WnckMotionDirection;
-
-/**
* WnckLayoutOrientation:
* @WNCK_LAYOUT_ORIENTATION_HORIZONTAL: the #WnckWorkspace are laid out in
* rows, with the first #WnckWorkspace in the defined #WnckLayoutCorner.
diff --git a/libwnck/workspace.h b/libwnck/workspace.h
index 3af7ac4..3f0b626 100644
--- a/libwnck/workspace.h
+++ b/libwnck/workspace.h
@@ -65,6 +65,29 @@ struct _WnckWorkspaceClass
void (* pad4) (void);
};
+/**
+ * WnckMotionDirection:
+ * @WNCK_MOTION_UP: search a neighbor #WnckWorkspace above another
+ * #WnckWorkspace.
+ * @WNCK_MOTION_DOWN: search a neighbor #WnckWorkspace below another
+ * #WnckWorkspace.
+ * @WNCK_MOTION_LEFT: search a neighbor #WnckWorkspace at the left of another
+ * #WnckWorkspace.
+ * @WNCK_MOTION_RIGHT: search a neighbor #WnckWorkspace at the right of another
+ * #WnckWorkspace.
+ *
+ * Type defining a direction in which to search a neighbor #WnckWorkspace.
+ *
+ * Since: 2.14
+ */
+typedef enum
+{
+ WNCK_MOTION_UP = -1,
+ WNCK_MOTION_DOWN = -2,
+ WNCK_MOTION_LEFT = -3,
+ WNCK_MOTION_RIGHT = -4
+} WnckMotionDirection;
+
GType wnck_workspace_get_type (void) G_GNUC_CONST;
int wnck_workspace_get_number (WnckWorkspace *space);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]