2002-10-26 Havoc Pennington <hp@pobox.com> * theme-switcher.c (window_read_themes): adapt to gnome-wm-manager API changes 2002-10-26 Havoc Pennington <hp@pobox.com> * gnome-window-manager.c: handle NULL fields in the class struct; and replace the individual setters with get/set for a big struct with flags indicating which fields we care about, a la a graphics context. Add settings_changed signal. (gnome_window_manager_get_type): change object name to GnomeWindowManager not GWindowManager * gnome-window-manager.h (struct _GnomeWindowManagerClass): add padding to the class struct * Makefile.am: move metacity module here from capplets/windows/ (libgnome_window_settings_la_SOURCES): don't build the code to switch window managers, it was bitrotted and broken anyway, and isn't in the UI right now. Keep the code in EXTRA_DIST in case someone wants to recover it. Move some relevant bits to gnome-wm-manager.c 2002-10-26 Havoc Pennington <hp@pobox.com> * gnome-window-properties.c: rewrite * Makefile.am (bin_PROGRAMS): remove metacity module, move to libwindow-settings (gnome_window_properties_LDADD): properly link to .la file for libgnome-window-settings, not the installed copy
29 lines
980 B
C
29 lines
980 B
C
#ifndef METACITY_WINDOW_MANAGER_H
|
|
#define METACITY_WINDOW_MANAGER_H
|
|
|
|
#include <glib-object.h>
|
|
#include "gnome-window-manager.h"
|
|
|
|
#define METACITY_WINDOW_MANAGER(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, metacity_window_manager_get_type (), MetacityWindowManager)
|
|
#define METACITY_WINDOW_MANAGER_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, metacity_window_manager_get_type (), MetacityWindowManagerClass)
|
|
#define IS_METACITY_WINDOW_MANAGER(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, metacity_window_manager_get_type ())
|
|
|
|
typedef struct _MetacityWindowManager MetacityWindowManager;
|
|
typedef struct _MetacityWindowManagerClass MetacityWindowManagerClass;
|
|
|
|
typedef struct _MetacityWindowManagerPrivate MetacityWindowManagerPrivate;
|
|
|
|
struct _MetacityWindowManager
|
|
{
|
|
GnomeWindowManager parent;
|
|
MetacityWindowManagerPrivate *p;
|
|
};
|
|
|
|
struct _MetacityWindowManagerClass
|
|
{
|
|
GnomeWindowManagerClass klass;
|
|
};
|
|
|
|
GType metacity_window_manager_get_type (void);
|
|
|
|
#endif
|