shell-global-private.h fixes:

- Include private header so shell-global.c compiles
- Move _shell_global_set_plugin to private header
This commit is contained in:
Owen W. Taylor 2009-10-28 12:59:01 -04:00
parent baf823c466
commit 627f86a9dc
3 changed files with 5 additions and 6 deletions

View File

@ -6,7 +6,9 @@
#include <gjs/gjs.h> #include <gjs/gjs.h>
void _shell_global_set_gjs_context (ShellGlobal *global, void _shell_global_set_plugin (ShellGlobal *global,
GjsContext *context); MutterPlugin *plugin);
void _shell_global_set_gjs_context (ShellGlobal *global,
GjsContext *context);
#endif /* __SHELL_GLOBAL_PRIVATE_H__ */ #endif /* __SHELL_GLOBAL_PRIVATE_H__ */

View File

@ -1,6 +1,6 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "shell-global.h" #include "shell-global-private.h"
#include "shell-wm.h" #include "shell-wm.h"
#include "display.h" #include "display.h"

View File

@ -58,9 +58,6 @@ void shell_global_set_stage_input_region (ShellGlobal *global,
GList *shell_global_get_windows (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, gboolean shell_global_begin_modal (ShellGlobal *global,
guint32 timestamp); guint32 timestamp);
void shell_global_end_modal (ShellGlobal *global, void shell_global_end_modal (ShellGlobal *global,