[libchamplain] Eliminate warnings when compiling local-rendering demo
- From: Jiří Techet <jiritechet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain] Eliminate warnings when compiling local-rendering demo
- Date: Tue, 11 May 2010 23:23:57 +0000 (UTC)
commit 304f5679193194bbd0ad018696b2f575e5365fd5
Author: JiÅ?Ã Techet <techet gmail com>
Date: Tue May 11 23:37:48 2010 +0200
Eliminate warnings when compiling local-rendering demo
Can't reproduce the original warnings myself but was reported in bugzilla.
Signed-off-by: JiÅ?Ã Techet <techet gmail com>
demos/local-rendering.c | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/demos/local-rendering.c b/demos/local-rendering.c
index 7f3caca..07e1c09 100644
--- a/demos/local-rendering.c
+++ b/demos/local-rendering.c
@@ -22,6 +22,10 @@
#include <champlain/champlain-memphis.h>
#include <champlain-gtk/champlain-gtk.h>
#include <clutter-gtk/clutter-gtk.h>
+#include <string.h>
+#include <stdio.h>
+#include <unistd.h>
+#include <sys/socket.h>
#define N_COLS 2
#define COL_ID 0
@@ -670,14 +674,6 @@ void list_item_selected_cb (GtkTreeView *tree_view,
}
}
-static gboolean
-delete_window (GtkWidget *widget,
- GdkEvent *event,
- gpointer user_data)
-{
- gtk_main_quit ();
-}
-
int
main (int argc,
char *argv[])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]