changeset 15911:0592a7b4db86

This was giving me a warning saying the function wasn't previously declared
author Mark Doliner <mark@kingant.net>
date Sun, 25 Mar 2007 03:30:58 +0000
parents ce931aecfe47
children 88d626a179a6
files finch/libgnt/gntfilesel.c finch/libgnt/gntfilesel.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gntfilesel.c	Sun Mar 25 01:45:25 2007 +0000
+++ b/finch/libgnt/gntfilesel.c	Sun Mar 25 03:30:58 2007 +0000
@@ -312,7 +312,7 @@
 	return type;
 }
 
-GntWidget *gnt_file_sel_new()
+GntWidget *gnt_file_sel_new(void)
 {
 	GntWidget *widget = g_object_new(GNT_TYPE_FILE_SEL, NULL);
 	GntFileSel *sel = GNT_FILE_SEL(widget);
--- a/finch/libgnt/gntfilesel.h	Sun Mar 25 01:45:25 2007 +0000
+++ b/finch/libgnt/gntfilesel.h	Sun Mar 25 03:30:58 2007 +0000
@@ -53,7 +53,7 @@
 
 GType gnt_file_sel_get_gtype(void);
 
-GntWidget *gnt_file_sel_new();
+GntWidget *gnt_file_sel_new(void);
 
 gboolean gnt_file_sel_set_current_location(GntFileSel *sel, const char *path);