[gnome-shell] shell-global-private.h fixes:



commit 627f86a9dcf1bd0e5caf221333add19fd81d58fc
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Wed Oct 28 12:59:01 2009 -0400

    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 234388c..76147a6 100644
--- a/src/shell-global-private.h
+++ b/src/shell-global-private.h
@@ -6,7 +6,9 @@
 
 #include <gjs/gjs.h>
 
-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 ccb3734..b07d090 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 db2e069..55844a3 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]