summaryrefslogtreecommitdiff
blob: aafd8c4cc67bd9113d2da4b69b1bb8e986cf7317 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/panel/plugin.c
+++ b/panel/plugin.c
@@ -22,6 +22,7 @@
 /**************************************************************/
 static GHashTable *class_ht;
 
+struct _plugin_instance *stam;
 
 void
 class_register(plugin_class *p)
--- a/panel/plugin.h
+++ b/panel/plugin.h
@@ -9,7 +9,7 @@
 #include <stdio.h>
 #include "panel.h"
 
-struct _plugin_instance *stam;
+extern struct _plugin_instance *stam;
 
 typedef struct {
     /* common */