[gnome-pilot/GNOME_PILOT_2_32: 27/28] add missing includes and cast.
- From: Matthew Charles Davey <mcdavey src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-pilot/GNOME_PILOT_2_32: 27/28] add missing includes and cast.
- Date: Mon, 21 Mar 2011 00:46:39 +0000 (UTC)
commit bc9916337b3fe42c24994ce739651e05d3bb3927
Author: Matt Davey <mcdavey mrao cam ac uk>
Date: Mon Mar 21 00:23:03 2011 +0000
add missing includes and cast.
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 | 3 ++-
gpilotd/gpilot-daemon.c | 1 +
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/conduits/evolution-data-server/e-pilot-settings.c b/conduits/evolution-data-server/e-pilot-settings.c
index 0ab0b58..b2c9599 100644
--- a/conduits/evolution-data-server/e-pilot-settings.c
+++ b/conduits/evolution-data-server/e-pilot-settings.c
@@ -26,6 +26,7 @@
#include <gtk/gtk.h>
#include <glib/gi18n.h>
+#include <glib-object.h>
#include <libedataserverui/e-source-combo-box.h>
#include "e-pilot-settings.h"
@@ -45,7 +46,7 @@ static GObjectClass *parent_class = NULL;
GType
e_pilot_settings_get_type (void)
{
- static GType type = g_type_from_name ("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 2fb7e03..e402e33 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]