[gnome-pilot] add missing includes and cast. means we can now build with -Wall -Werror again.
- From: Matthew Charles Davey <mcdavey src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-pilot] add missing includes and cast. means we can now build with -Wall -Werror again.
- Date: Mon, 21 Mar 2011 01:05:11 +0000 (UTC)
commit 7935f5d0d6a48548a6e2e13be37f26501cc2c24b
Author: Matt Davey <mcdavey mrao cam ac uk>
Date: Mon Mar 21 00:58:11 2011 +0000
add missing includes and cast. means we can now build with -Wall -Werror again.
conduits/evolution-data-server/e-pilot-settings.c: add include
for glib-object.h, and const-ify call to g_type_from_name.
gpilotd/gpilot-daemon.c: add missing include for pi-util.h
conduits/evolution-data-server/e-pilot-settings.c | 2 +-
gpilotd/gpilot-daemon.c | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/conduits/evolution-data-server/e-pilot-settings.c b/conduits/evolution-data-server/e-pilot-settings.c
index 8245f8e..b2c9599 100644
--- a/conduits/evolution-data-server/e-pilot-settings.c
+++ b/conduits/evolution-data-server/e-pilot-settings.c
@@ -46,7 +46,7 @@ static GObjectClass *parent_class = NULL;
GType
e_pilot_settings_get_type (void)
{
- GType type = g_type_from_name ((const) "EPilotSettings");
+ GType type = g_type_from_name ((const gchar *) "EPilotSettings");
if (!type) {
static GTypeInfo info = {
diff --git a/gpilotd/gpilot-daemon.c b/gpilotd/gpilot-daemon.c
index ba73800..372c19e 100644
--- a/gpilotd/gpilot-daemon.c
+++ b/gpilotd/gpilot-daemon.c
@@ -42,6 +42,7 @@
#include <glib.h>
#include <glib/gi18n.h>
#include <pi-dlp.h>
+#include <pi-util.h>
#include "gpilot-daemon.h"
#include "gpilot-daemon-glue.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]