[libchamplain/libchamplain-0-4] Fix compiler warning "function declaration isn't a prototype"



commit 23187916539e70f0be987a6395f290dd63607a39
Author: Pierre-Luc Beaudoin <pierre-luc pierlux com>
Date:   Tue Oct 20 10:54:11 2009 -0400

    Fix compiler warning "function declaration isn't a prototype"

 champlain-gtk/gtk-champlain-embed.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/champlain-gtk/gtk-champlain-embed.h b/champlain-gtk/gtk-champlain-embed.h
index eb1603e..216d85f 100644
--- a/champlain-gtk/gtk-champlain-embed.h
+++ b/champlain-gtk/gtk-champlain-embed.h
@@ -54,7 +54,7 @@ struct _GtkChamplainEmbedClass
 
 GType gtk_champlain_embed_get_type (void);
 
-GtkWidget *gtk_champlain_embed_new ();
+GtkWidget *gtk_champlain_embed_new (void);
 ChamplainView *gtk_champlain_embed_get_view (GtkChamplainEmbed* embed);
 
 /* DEPRECATED API */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]