comparison finch/libgnt/gntentry.c @ 22007:c38d72677c8a

Probe for -Wstrict-prototypes to get some more warnings. I then cleaned up the existing warnings. I removed a handful of dead code and cleaned up a couple of things that I stumbled across.
author Richard Laager <rlaager@wiktel.com>
date Thu, 03 Jan 2008 04:57:40 +0000
parents 760a8e024142
children 0ba0f2804299
comparison
equal deleted inserted replaced
21975:c7c5e2ff2b04 22007:c38d72677c8a
914 gnt_style_read_actions(G_OBJECT_CLASS_TYPE(klass), GNT_BINDABLE_CLASS(klass)); 914 gnt_style_read_actions(G_OBJECT_CLASS_TYPE(klass), GNT_BINDABLE_CLASS(klass));
915 GNTDEBUG; 915 GNTDEBUG;
916 } 916 }
917 917
918 static GntEntryKillRing * 918 static GntEntryKillRing *
919 new_killring() 919 new_killring(void)
920 { 920 {
921 GntEntryKillRing *kr = g_new0(GntEntryKillRing, 1); 921 GntEntryKillRing *kr = g_new0(GntEntryKillRing, 1);
922 kr->buffer = g_string_new(NULL); 922 kr->buffer = g_string_new(NULL);
923 return kr; 923 return kr;
924 } 924 }