Exposed MetaGroup API.

This commit is contained in:
Tomas Frydrych 2009-01-15 15:37:48 +00:00
parent aad8eb1999
commit 25d628aea2
6 changed files with 9 additions and 3 deletions

View File

@ -47,7 +47,7 @@ metacity_SOURCES= \
core/group-props.c \ core/group-props.c \
core/group-props.h \ core/group-props.h \
core/group.c \ core/group.c \
core/group.h \ include/group.h \
core/iconcache.c \ core/iconcache.c \
core/iconcache.h \ core/iconcache.h \
core/keybindings.c \ core/keybindings.c \
@ -159,6 +159,7 @@ libmetacityinclude_HEADERS = \
include/types.h \ include/types.h \
include/screen.h \ include/screen.h \
include/display.h \ include/display.h \
include/group.h \
include/mutter-plugin.h include/mutter-plugin.h
metacity_theme_viewer_SOURCES= \ metacity_theme_viewer_SOURCES= \

View File

@ -25,6 +25,7 @@
#define META_GROUP_PROPS_H #define META_GROUP_PROPS_H
#include "group.h" #include "group.h"
#include "window-private.h"
void meta_group_reload_property (MetaGroup *group, void meta_group_reload_property (MetaGroup *group,
Atom property); Atom property);

View File

@ -26,6 +26,7 @@
#include "util.h" #include "util.h"
#include "group-private.h" #include "group-private.h"
#include "group-props.h" #include "group-props.h"
#include "window-private.h"
#include "window.h" #include "window.h"
static MetaGroup* static MetaGroup*

View File

@ -43,7 +43,6 @@
#include <X11/Xutil.h> #include <X11/Xutil.h>
#include <gdk-pixbuf/gdk-pixbuf.h> #include <gdk-pixbuf/gdk-pixbuf.h>
typedef struct _MetaGroup MetaGroup;
typedef struct _MetaWindowQueue MetaWindowQueue; typedef struct _MetaWindowQueue MetaWindowQueue;
typedef gboolean (*MetaWindowForeachFunc) (MetaWindow *window, typedef gboolean (*MetaWindowForeachFunc) (MetaWindow *window,

View File

@ -24,7 +24,9 @@
#ifndef META_GROUP_H #ifndef META_GROUP_H
#define META_GROUP_H #define META_GROUP_H
#include "window-private.h" #include <X11/Xlib.h>
#include <glib.h>
#include "types.h"
/* note, can return NULL */ /* note, can return NULL */
MetaGroup* meta_window_get_group (MetaWindow *window); MetaGroup* meta_window_get_group (MetaWindow *window);

View File

@ -28,4 +28,6 @@ typedef struct _MetaFrame MetaFrame;
typedef struct _MetaScreen MetaScreen; typedef struct _MetaScreen MetaScreen;
typedef struct _MetaWindow MetaWindow; typedef struct _MetaWindow MetaWindow;
typedef struct _MetaWorkspace MetaWorkspace; typedef struct _MetaWorkspace MetaWorkspace;
typedef struct _MetaGroup MetaGroup;
#endif #endif