mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00:00
Fixed format
This commit is contained in:
parent
e85f67f564
commit
685bbb2e64
@ -190,10 +190,9 @@ parse_disable_params (const char *params, MutterPlugin *plugin)
|
|||||||
* struct.
|
* struct.
|
||||||
*/
|
*/
|
||||||
static MutterPlugin *
|
static MutterPlugin *
|
||||||
mutter_plugin_load (
|
mutter_plugin_load (MutterPluginManager *plugin_mgr,
|
||||||
MutterPluginManager *plugin_mgr,
|
GModule *module,
|
||||||
GModule *module,
|
const gchar *params)
|
||||||
const gchar *params)
|
|
||||||
{
|
{
|
||||||
MutterPlugin *plugin;
|
MutterPlugin *plugin;
|
||||||
|
|
||||||
@ -271,8 +270,7 @@ mutter_plugin_unload (MutterPlugin *plugin)
|
|||||||
* pending for removal.
|
* pending for removal.
|
||||||
*/
|
*/
|
||||||
static gboolean
|
static gboolean
|
||||||
mutter_plugin_manager_idle_unload (
|
mutter_plugin_manager_idle_unload (MutterPluginManager *plugin_mgr)
|
||||||
MutterPluginManager *plugin_mgr)
|
|
||||||
{
|
{
|
||||||
GList *l = plugin_mgr->unload;
|
GList *l = plugin_mgr->unload;
|
||||||
gboolean dont_remove = TRUE;
|
gboolean dont_remove = TRUE;
|
||||||
@ -317,8 +315,7 @@ mutter_plugin_manager_idle_unload (
|
|||||||
* Unloads all plugins
|
* Unloads all plugins
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
mutter_plugin_manager_unload (
|
mutter_plugin_manager_unload (MutterPluginManager *plugin_mgr)
|
||||||
MutterPluginManager *plugin_mgr)
|
|
||||||
{
|
{
|
||||||
GList *plugins = plugin_mgr->plugins;
|
GList *plugins = plugin_mgr->plugins;
|
||||||
|
|
||||||
@ -445,8 +442,7 @@ mutter_plugin_manager_load (MutterPluginManager *plugin_mgr)
|
|||||||
* Reloads all plugins
|
* Reloads all plugins
|
||||||
*/
|
*/
|
||||||
static gboolean
|
static gboolean
|
||||||
mutter_plugin_manager_reload (
|
mutter_plugin_manager_reload (MutterPluginManager *plugin_mgr)
|
||||||
MutterPluginManager *plugin_mgr)
|
|
||||||
{
|
{
|
||||||
/* TODO -- brute force; should we build a list of plugins to load and list of
|
/* TODO -- brute force; should we build a list of plugins to load and list of
|
||||||
* plugins to unload? We are probably not going to have large numbers of
|
* plugins to unload? We are probably not going to have large numbers of
|
||||||
@ -457,15 +453,14 @@ mutter_plugin_manager_reload (
|
|||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
mutter_plugin_manager_init (
|
mutter_plugin_manager_init (MutterPluginManager *plugin_mgr)
|
||||||
MutterPluginManager *plugin_mgr)
|
|
||||||
{
|
{
|
||||||
return mutter_plugin_manager_load (plugin_mgr);
|
return mutter_plugin_manager_load (plugin_mgr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
mutter_plugin_manager_update_workspace (
|
mutter_plugin_manager_update_workspace (MutterPluginManager *plugin_mgr,
|
||||||
MutterPluginManager *plugin_mgr, MetaWorkspace *workspace)
|
MetaWorkspace *workspace)
|
||||||
{
|
{
|
||||||
GList *l;
|
GList *l;
|
||||||
gint index;
|
gint index;
|
||||||
@ -494,8 +489,7 @@ mutter_plugin_manager_update_workspace (
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
mutter_plugin_manager_update_workspaces (
|
mutter_plugin_manager_update_workspaces (MutterPluginManager *plugin_mgr)
|
||||||
MutterPluginManager *plugin_mgr)
|
|
||||||
{
|
{
|
||||||
GList *l;
|
GList *l;
|
||||||
|
|
||||||
@ -529,10 +523,9 @@ mutter_plugin_manager_new (MetaScreen *screen)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
mutter_plugin_manager_kill_effect (
|
mutter_plugin_manager_kill_effect (MutterPluginManager *plugin_mgr,
|
||||||
MutterPluginManager *plugin_mgr,
|
MutterWindow *actor,
|
||||||
MutterWindow *actor,
|
unsigned long events)
|
||||||
unsigned long events)
|
|
||||||
{
|
{
|
||||||
GList *l = plugin_mgr->plugins;
|
GList *l = plugin_mgr->plugins;
|
||||||
|
|
||||||
@ -563,10 +556,9 @@ mutter_plugin_manager_kill_effect (
|
|||||||
* appropriate post-effect cleanup is carried out.
|
* appropriate post-effect cleanup is carried out.
|
||||||
*/
|
*/
|
||||||
gboolean
|
gboolean
|
||||||
mutter_plugin_manager_event_simple (
|
mutter_plugin_manager_event_simple (MutterPluginManager *plugin_mgr,
|
||||||
MutterPluginManager *plugin_mgr,
|
MutterWindow *actor,
|
||||||
MutterWindow *actor,
|
unsigned long event)
|
||||||
unsigned long event)
|
|
||||||
{
|
{
|
||||||
GList *l = plugin_mgr->plugins;
|
GList *l = plugin_mgr->plugins;
|
||||||
gboolean retval = FALSE;
|
gboolean retval = FALSE;
|
||||||
@ -634,14 +626,13 @@ mutter_plugin_manager_event_simple (
|
|||||||
* appropriate post-effect cleanup is carried out.
|
* appropriate post-effect cleanup is carried out.
|
||||||
*/
|
*/
|
||||||
gboolean
|
gboolean
|
||||||
mutter_plugin_manager_event_maximize (
|
mutter_plugin_manager_event_maximize (MutterPluginManager *plugin_mgr,
|
||||||
MutterPluginManager *plugin_mgr,
|
MutterWindow *actor,
|
||||||
MutterWindow *actor,
|
unsigned long event,
|
||||||
unsigned long event,
|
gint target_x,
|
||||||
gint target_x,
|
gint target_y,
|
||||||
gint target_y,
|
gint target_width,
|
||||||
gint target_width,
|
gint target_height)
|
||||||
gint target_height)
|
|
||||||
{
|
{
|
||||||
GList *l = plugin_mgr->plugins;
|
GList *l = plugin_mgr->plugins;
|
||||||
gboolean retval = FALSE;
|
gboolean retval = FALSE;
|
||||||
@ -702,12 +693,11 @@ mutter_plugin_manager_event_maximize (
|
|||||||
* appropriate post-effect cleanup is carried out.
|
* appropriate post-effect cleanup is carried out.
|
||||||
*/
|
*/
|
||||||
gboolean
|
gboolean
|
||||||
mutter_plugin_manager_switch_workspace (
|
mutter_plugin_manager_switch_workspace (MutterPluginManager *plugin_mgr,
|
||||||
MutterPluginManager *plugin_mgr,
|
const GList **actors,
|
||||||
const GList **actors,
|
gint from,
|
||||||
gint from,
|
gint to,
|
||||||
gint to,
|
MetaMotionDirection direction)
|
||||||
MetaMotionDirection direction)
|
|
||||||
{
|
{
|
||||||
GList *l = plugin_mgr->plugins;
|
GList *l = plugin_mgr->plugins;
|
||||||
gboolean retval = FALSE;
|
gboolean retval = FALSE;
|
||||||
@ -748,8 +738,8 @@ mutter_plugin_manager_switch_workspace (
|
|||||||
* appropriate post-effect cleanup is carried out.
|
* appropriate post-effect cleanup is carried out.
|
||||||
*/
|
*/
|
||||||
gboolean
|
gboolean
|
||||||
mutter_plugin_manager_xevent_filter (
|
mutter_plugin_manager_xevent_filter (MutterPluginManager *plugin_mgr,
|
||||||
MutterPluginManager *plugin_mgr, XEvent *xev)
|
XEvent *xev)
|
||||||
{
|
{
|
||||||
GList *l;
|
GList *l;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user