summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Thurman <tthurman@gnome.org>2009-07-10 07:57:09 -0400
committerThomas Thurman <tthurman@gnome.org>2009-07-10 07:57:09 -0400
commita5126ee115af09196e31e35b6b0c894da83a0104 (patch)
tree29f12acdbcab7108396d6bb5be9631c45d146d32
parent4a95bf05416f7045d840ab043329a052b1ff26ca (diff)
downloadmetacity-a5126ee115af09196e31e35b6b0c894da83a0104.tar.gz
remove MetaMatching struct
-rw-r--r--src/core/matching.c3
-rw-r--r--src/core/matching.h30
2 files changed, 2 insertions, 31 deletions
diff --git a/src/core/matching.c b/src/core/matching.c
index 56eaec87..0e79aff3 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 730c4b17..74bc45d9 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);