[metacity/matching] remove MetaMatching struct
- From: Thomas James Alexander Thurman <tthurman src gnome org>
- To: svn-commits-list gnome org
- Subject: [metacity/matching] remove MetaMatching struct
- Date: Fri, 10 Jul 2009 12:04:37 +0000 (UTC)
commit a5126ee115af09196e31e35b6b0c894da83a0104
Author: Thomas Thurman <tthurman gnome org>
Date: Fri Jul 10 07:57:09 2009 -0400
remove MetaMatching struct
src/core/matching.c | 3 +--
src/core/matching.h | 30 +-----------------------------
2 files changed, 2 insertions(+), 31 deletions(-)
---
diff --git a/src/core/matching.c b/src/core/matching.c
index 56eaec8..0e79aff 100644
--- a/src/core/matching.c
+++ b/src/core/matching.c
@@ -41,13 +41,12 @@ load_matching_data (void)
/* FIXME: would be helpful to add a leading comment */
}
-MetaMatching*
+void
meta_matching_load_from_role (MetaWindow *window, gchar *role)
{
load_matching_data ();
/* stub */
- return NULL;
}
void
diff --git a/src/core/matching.h b/src/core/matching.h
index 730c4b1..74bc45d 100644
--- a/src/core/matching.h
+++ b/src/core/matching.h
@@ -27,36 +27,8 @@
#include "common.h"
#include "window.h"
-/**
- * Represents the position of a given window on a display.
- */
-typedef struct
-{
- gint x;
- gint y;
- guint width;
- guint height;
- guint workspace;
- /* XXX should we store gravity? */
- /* FIXME: also:
-
- guint on_all_workspaces : 1;
- guint minimized : 1;
- guint maximized : 1;
-
- guint stack_position_set : 1;
- guint geometry_set : 1;
- guint on_all_workspaces_set : 1;
- guint minimized_set : 1;
- guint maximized_set : 1;
- guint saved_rect_set : 1;
- */
-
-
-} MetaMatching;
-
/* XXX rename to meta_window_... now the first param is a window */
-MetaMatching* meta_matching_load_from_role (MetaWindow *window, gchar *role);
+void meta_matching_load_from_role (MetaWindow *window, gchar *role);
void meta_matching_save_to_role (MetaWindow *window, gchar *role);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]