aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-02-15 17:35:47 +0000
committerRoss Burton <ross.burton@intel.com>2013-04-26 11:07:10 +0100
commitc03234512784b78a95b5aa9ca445d05836b9d51a (patch)
tree3f6b194e61505e949702ae1e801b4f6556e2e3d4
parent35f4733425e51541aad915512de78798d58e5f53 (diff)
downloadmatchbox-panel-2-c03234512784b78a95b5aa9ca445d05836b9d51a.tar.gz
matchbox-panel-2-c03234512784b78a95b5aa9ca445d05836b9d51a.tar.bz2
matchbox-panel-2-c03234512784b78a95b5aa9ca445d05836b9d51a.zip
build: silence more compile warnings
-rw-r--r--applets/startup-notify/startup.c4
-rw-r--r--applets/startup/startup.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/applets/startup-notify/startup.c b/applets/startup-notify/startup.c
index 95b3167..a65817a 100644
--- a/applets/startup-notify/startup.c
+++ b/applets/startup-notify/startup.c
@@ -38,6 +38,8 @@
#include <string.h>
#include "marshal.h"
+#include <matchbox-panel/mb-panel.h>
+
#define TIMEOUT 20
typedef struct LaunchItem {
@@ -78,7 +80,7 @@ notify_done (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
}
}
-void
+static void
notify_send (StartupApplet *applet, const char *summary)
{
dbus_g_proxy_begin_call (applet->proxy, "Notify",
diff --git a/applets/startup/startup.c b/applets/startup/startup.c
index 7cc92ad..3554d4c 100644
--- a/applets/startup/startup.c
+++ b/applets/startup/startup.c
@@ -35,6 +35,7 @@
#include <libsn/sn.h>
#include <string.h>
+#include <matchbox-panel/mb-panel.h>
#include <matchbox-panel/mb-panel-scaling-image.h>
#define TIMEOUT 20