mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
Don't duplicate declarations from G_DEFINE_TYPE
This commit is contained in:
parent
e23e697043
commit
27b37407d0
@ -54,8 +54,6 @@ struct _MetaCursorRendererClass
|
|||||||
XcursorImage *xc_image);
|
XcursorImage *xc_image);
|
||||||
};
|
};
|
||||||
|
|
||||||
GType meta_cursor_renderer_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
MetaCursorRenderer * meta_cursor_renderer_new (void);
|
MetaCursorRenderer * meta_cursor_renderer_new (void);
|
||||||
|
|
||||||
void meta_cursor_renderer_set_cursor (MetaCursorRenderer *renderer,
|
void meta_cursor_renderer_set_cursor (MetaCursorRenderer *renderer,
|
||||||
|
@ -60,8 +60,6 @@ struct _MetaCursorSprite
|
|||||||
gboolean theme_dirty;
|
gboolean theme_dirty;
|
||||||
};
|
};
|
||||||
|
|
||||||
GType meta_cursor_sprite_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
G_DEFINE_TYPE (MetaCursorSprite, meta_cursor_sprite, G_TYPE_OBJECT)
|
G_DEFINE_TYPE (MetaCursorSprite, meta_cursor_sprite, G_TYPE_OBJECT)
|
||||||
|
|
||||||
static const char *
|
static const char *
|
||||||
|
@ -33,8 +33,6 @@ struct _MetaCursorRendererX11Nested
|
|||||||
MetaCursorRenderer parent;
|
MetaCursorRenderer parent;
|
||||||
};
|
};
|
||||||
|
|
||||||
GType meta_cursor_renderer_x11_nested_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
G_DEFINE_TYPE (MetaCursorRendererX11Nested, meta_cursor_renderer_x11_nested,
|
G_DEFINE_TYPE (MetaCursorRendererX11Nested, meta_cursor_renderer_x11_nested,
|
||||||
META_TYPE_CURSOR_RENDERER);
|
META_TYPE_CURSOR_RENDERER);
|
||||||
|
|
||||||
|
@ -57,8 +57,6 @@ typedef struct _MetaWaylandDataSourceWayland
|
|||||||
struct wl_resource *resource;
|
struct wl_resource *resource;
|
||||||
} MetaWaylandDataSourceWayland;
|
} MetaWaylandDataSourceWayland;
|
||||||
|
|
||||||
GType meta_wayland_data_source_wayland_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
G_DEFINE_TYPE_WITH_PRIVATE (MetaWaylandDataSource, meta_wayland_data_source,
|
G_DEFINE_TYPE_WITH_PRIVATE (MetaWaylandDataSource, meta_wayland_data_source,
|
||||||
G_TYPE_OBJECT);
|
G_TYPE_OBJECT);
|
||||||
G_DEFINE_TYPE (MetaWaylandDataSourceWayland, meta_wayland_data_source_wayland,
|
G_DEFINE_TYPE (MetaWaylandDataSourceWayland, meta_wayland_data_source_wayland,
|
||||||
|
@ -60,8 +60,6 @@ struct _MetaWaylandDataDevice
|
|||||||
struct wl_signal dnd_ownership_signal;
|
struct wl_signal dnd_ownership_signal;
|
||||||
};
|
};
|
||||||
|
|
||||||
GType meta_wayland_data_source_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
void meta_wayland_data_device_manager_init (MetaWaylandCompositor *compositor);
|
void meta_wayland_data_device_manager_init (MetaWaylandCompositor *compositor);
|
||||||
|
|
||||||
void meta_wayland_data_device_init (MetaWaylandDataDevice *data_device);
|
void meta_wayland_data_device_init (MetaWaylandDataDevice *data_device);
|
||||||
|
@ -74,7 +74,6 @@ struct _MetaWaylandSurfaceRoleCursor
|
|||||||
MetaCursorSprite *cursor_sprite;
|
MetaCursorSprite *cursor_sprite;
|
||||||
};
|
};
|
||||||
|
|
||||||
GType meta_wayland_surface_role_cursor_get_type (void) G_GNUC_CONST;
|
|
||||||
G_DEFINE_TYPE (MetaWaylandSurfaceRoleCursor,
|
G_DEFINE_TYPE (MetaWaylandSurfaceRoleCursor,
|
||||||
meta_wayland_surface_role_cursor,
|
meta_wayland_surface_role_cursor,
|
||||||
META_TYPE_WAYLAND_SURFACE_ROLE);
|
META_TYPE_WAYLAND_SURFACE_ROLE);
|
||||||
|
@ -73,11 +73,8 @@ typedef struct
|
|||||||
struct wl_listener sibling_destroy_listener;
|
struct wl_listener sibling_destroy_listener;
|
||||||
} MetaWaylandSubsurfacePlacementOp;
|
} MetaWaylandSubsurfacePlacementOp;
|
||||||
|
|
||||||
GType meta_wayland_surface_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
G_DEFINE_TYPE (MetaWaylandSurface, meta_wayland_surface, G_TYPE_OBJECT);
|
G_DEFINE_TYPE (MetaWaylandSurface, meta_wayland_surface, G_TYPE_OBJECT);
|
||||||
|
|
||||||
GType meta_wayland_surface_role_get_type (void) G_GNUC_CONST;
|
|
||||||
G_DEFINE_TYPE_WITH_PRIVATE (MetaWaylandSurfaceRole,
|
G_DEFINE_TYPE_WITH_PRIVATE (MetaWaylandSurfaceRole,
|
||||||
meta_wayland_surface_role,
|
meta_wayland_surface_role,
|
||||||
G_TYPE_OBJECT);
|
G_TYPE_OBJECT);
|
||||||
@ -87,7 +84,6 @@ struct _MetaWaylandSurfaceRoleSubsurface
|
|||||||
MetaWaylandSurfaceRole parent;
|
MetaWaylandSurfaceRole parent;
|
||||||
};
|
};
|
||||||
|
|
||||||
GType meta_wayland_surface_role_subsurface_get_type (void) G_GNUC_CONST;
|
|
||||||
G_DEFINE_TYPE (MetaWaylandSurfaceRoleSubsurface,
|
G_DEFINE_TYPE (MetaWaylandSurfaceRoleSubsurface,
|
||||||
meta_wayland_surface_role_subsurface,
|
meta_wayland_surface_role_subsurface,
|
||||||
META_TYPE_WAYLAND_SURFACE_ROLE);
|
META_TYPE_WAYLAND_SURFACE_ROLE);
|
||||||
@ -97,7 +93,6 @@ struct _MetaWaylandSurfaceRoleXdgSurface
|
|||||||
MetaWaylandSurfaceRole parent;
|
MetaWaylandSurfaceRole parent;
|
||||||
};
|
};
|
||||||
|
|
||||||
GType meta_wayland_surface_role_xdg_surface_get_type (void) G_GNUC_CONST;
|
|
||||||
G_DEFINE_TYPE (MetaWaylandSurfaceRoleXdgSurface,
|
G_DEFINE_TYPE (MetaWaylandSurfaceRoleXdgSurface,
|
||||||
meta_wayland_surface_role_xdg_surface,
|
meta_wayland_surface_role_xdg_surface,
|
||||||
META_TYPE_WAYLAND_SURFACE_ROLE);
|
META_TYPE_WAYLAND_SURFACE_ROLE);
|
||||||
@ -107,7 +102,6 @@ struct _MetaWaylandSurfaceRoleXdgPopup
|
|||||||
MetaWaylandSurfaceRole parent;
|
MetaWaylandSurfaceRole parent;
|
||||||
};
|
};
|
||||||
|
|
||||||
GType meta_wayland_surface_role_xdg_popup_get_type (void) G_GNUC_CONST;
|
|
||||||
G_DEFINE_TYPE (MetaWaylandSurfaceRoleXdgPopup,
|
G_DEFINE_TYPE (MetaWaylandSurfaceRoleXdgPopup,
|
||||||
meta_wayland_surface_role_xdg_popup,
|
meta_wayland_surface_role_xdg_popup,
|
||||||
META_TYPE_WAYLAND_SURFACE_ROLE);
|
META_TYPE_WAYLAND_SURFACE_ROLE);
|
||||||
@ -117,7 +111,6 @@ struct _MetaWaylandSurfaceRoleWlShellSurface
|
|||||||
MetaWaylandSurfaceRole parent;
|
MetaWaylandSurfaceRole parent;
|
||||||
};
|
};
|
||||||
|
|
||||||
GType meta_wayland_surface_role_wl_shell_surface_get_type (void) G_GNUC_CONST;
|
|
||||||
G_DEFINE_TYPE (MetaWaylandSurfaceRoleWlShellSurface,
|
G_DEFINE_TYPE (MetaWaylandSurfaceRoleWlShellSurface,
|
||||||
meta_wayland_surface_role_wl_shell_surface,
|
meta_wayland_surface_role_wl_shell_surface,
|
||||||
META_TYPE_WAYLAND_SURFACE_ROLE);
|
META_TYPE_WAYLAND_SURFACE_ROLE);
|
||||||
@ -127,7 +120,6 @@ struct _MetaWaylandSurfaceRoleDND
|
|||||||
MetaWaylandSurfaceRole parent;
|
MetaWaylandSurfaceRole parent;
|
||||||
};
|
};
|
||||||
|
|
||||||
GType meta_wayland_surface_role_dnd_get_type (void) G_GNUC_CONST;
|
|
||||||
G_DEFINE_TYPE (MetaWaylandSurfaceRoleDND,
|
G_DEFINE_TYPE (MetaWaylandSurfaceRoleDND,
|
||||||
meta_wayland_surface_role_dnd,
|
meta_wayland_surface_role_dnd,
|
||||||
META_TYPE_WAYLAND_SURFACE_ROLE);
|
META_TYPE_WAYLAND_SURFACE_ROLE);
|
||||||
|
@ -39,8 +39,6 @@
|
|||||||
#include "meta-xwayland-selection-private.h"
|
#include "meta-xwayland-selection-private.h"
|
||||||
#include "meta-wayland-data-device.h"
|
#include "meta-wayland-data-device.h"
|
||||||
|
|
||||||
GType meta_wayland_data_source_xwayland_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
#define INCR_CHUNK_SIZE (128 * 1024)
|
#define INCR_CHUNK_SIZE (128 * 1024)
|
||||||
#define XDND_VERSION 5
|
#define XDND_VERSION 5
|
||||||
|
|
||||||
|
@ -45,7 +45,6 @@ struct _MetaWaylandSurfaceRoleXWayland
|
|||||||
MetaWaylandSurfaceRole parent;
|
MetaWaylandSurfaceRole parent;
|
||||||
};
|
};
|
||||||
|
|
||||||
GType meta_wayland_surface_role_xwayland_get_type (void) G_GNUC_CONST;
|
|
||||||
G_DEFINE_TYPE (MetaWaylandSurfaceRoleXWayland,
|
G_DEFINE_TYPE (MetaWaylandSurfaceRoleXWayland,
|
||||||
meta_wayland_surface_role_xwayland,
|
meta_wayland_surface_role_xwayland,
|
||||||
META_TYPE_WAYLAND_SURFACE_ROLE);
|
META_TYPE_WAYLAND_SURFACE_ROLE);
|
||||||
|
Loading…
Reference in New Issue
Block a user