# HG changeset patch # User Mark Doliner # Date 1174793458 0 # Node ID 0592a7b4db86ff0e313a5af4fffcb0f905351839 # Parent ce931aecfe479a4f4c8bb04eeb08bc6a8b2374bd This was giving me a warning saying the function wasn't previously declared diff -r ce931aecfe47 -r 0592a7b4db86 finch/libgnt/gntfilesel.c --- 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); diff -r ce931aecfe47 -r 0592a7b4db86 finch/libgnt/gntfilesel.h --- 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);