mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
clutter/main: Move struct where it is used
The struct & functions are no longer used elsewhere, so move them from the header file Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3573>
This commit is contained in:
parent
263423d38e
commit
40ba60b52b
@ -47,6 +47,13 @@
|
||||
|
||||
#include "cally/cally.h" /* For accessibility support */
|
||||
|
||||
typedef struct
|
||||
{
|
||||
GSourceFunc func;
|
||||
gpointer data;
|
||||
GDestroyNotify notify;
|
||||
} ClutterThreadsDispatch;
|
||||
|
||||
/* main context */
|
||||
static ClutterContext *ClutterCntx = NULL;
|
||||
|
||||
@ -108,7 +115,7 @@ clutter_disable_accessibility (void)
|
||||
clutter_enable_accessibility = FALSE;
|
||||
}
|
||||
|
||||
gboolean
|
||||
static gboolean
|
||||
_clutter_threads_dispatch (gpointer data)
|
||||
{
|
||||
ClutterThreadsDispatch *dispatch = data;
|
||||
@ -120,7 +127,7 @@ _clutter_threads_dispatch (gpointer data)
|
||||
return ret;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_clutter_threads_dispatch_free (gpointer data)
|
||||
{
|
||||
ClutterThreadsDispatch *dispatch = data;
|
||||
|
@ -98,17 +98,6 @@ typedef enum
|
||||
CLUTTER_IN_MAP_UNMAP = 1 << 8,
|
||||
} ClutterPrivateFlags;
|
||||
|
||||
/* shared between clutter-main.c and clutter-frame-source.c */
|
||||
typedef struct
|
||||
{
|
||||
GSourceFunc func;
|
||||
gpointer data;
|
||||
GDestroyNotify notify;
|
||||
} ClutterThreadsDispatch;
|
||||
|
||||
gboolean _clutter_threads_dispatch (gpointer data);
|
||||
void _clutter_threads_dispatch_free (gpointer data);
|
||||
|
||||
ClutterContext * _clutter_context_get_default (void);
|
||||
|
||||
CLUTTER_EXPORT
|
||||
|
Loading…
Reference in New Issue
Block a user