Move shared container methods from st-private to a common base class
Add StContainer, which implements the ClutterContainer interface based on the container methods in st-private and make the existing containers subclass it. https://bugzilla.gnome.org/show_bug.cgi?id=613907
This commit is contained in:
@ -29,14 +29,14 @@ typedef struct _ShellGenericContainerPrivate ShellGenericContainerPrivate;
|
||||
|
||||
struct _ShellGenericContainer
|
||||
{
|
||||
StWidget parent;
|
||||
StContainer parent;
|
||||
|
||||
ShellGenericContainerPrivate *priv;
|
||||
};
|
||||
|
||||
struct _ShellGenericContainerClass
|
||||
{
|
||||
StWidgetClass parent_class;
|
||||
StContainerClass parent_class;
|
||||
};
|
||||
|
||||
GType shell_generic_container_get_type (void) G_GNUC_CONST;
|
||||
@ -48,6 +48,5 @@ gboolean shell_generic_container_get_skip_paint (ShellGenericContainer *self,
|
||||
void shell_generic_container_set_skip_paint (ShellGenericContainer *self,
|
||||
ClutterActor *actor,
|
||||
gboolean skip);
|
||||
void shell_generic_container_remove_all (ShellGenericContainer *self);
|
||||
|
||||
#endif /* __SHELL_GENERIC_CONTAINER_H__ */
|
||||
|
Reference in New Issue
Block a user