From 627f86a9dcf1bd0e5caf221333add19fd81d58fc Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Wed, 28 Oct 2009 12:59:01 -0400 Subject: [PATCH] shell-global-private.h fixes: - Include private header so shell-global.c compiles - Move _shell_global_set_plugin to private header --- src/shell-global-private.h | 6 ++++-- src/shell-global.c | 2 +- src/shell-global.h | 3 --- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/shell-global-private.h b/src/shell-global-private.h index 234388c04..76147a688 100644 --- a/src/shell-global-private.h +++ b/src/shell-global-private.h @@ -6,7 +6,9 @@ #include -void _shell_global_set_gjs_context (ShellGlobal *global, - GjsContext *context); +void _shell_global_set_plugin (ShellGlobal *global, + MutterPlugin *plugin); +void _shell_global_set_gjs_context (ShellGlobal *global, + GjsContext *context); #endif /* __SHELL_GLOBAL_PRIVATE_H__ */ diff --git a/src/shell-global.c b/src/shell-global.c index ccb373480..b07d0905f 100644 --- a/src/shell-global.c +++ b/src/shell-global.c @@ -1,6 +1,6 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ -#include "shell-global.h" +#include "shell-global-private.h" #include "shell-wm.h" #include "display.h" diff --git a/src/shell-global.h b/src/shell-global.h index db2e0691e..55844a3a4 100644 --- a/src/shell-global.h +++ b/src/shell-global.h @@ -58,9 +58,6 @@ void shell_global_set_stage_input_region (ShellGlobal *global, GList *shell_global_get_windows (ShellGlobal *global); -void _shell_global_set_plugin (ShellGlobal *global, - MutterPlugin *plugin); - gboolean shell_global_begin_modal (ShellGlobal *global, guint32 timestamp); void shell_global_end_modal (ShellGlobal *global,