Mercurial > pidgin.yaz
changeset 18471:6a8a142cd600
Return 0 to silence the following warning
eggtrayicon.c: In function ¡Æegg_tray_icon_send_message¡Ç:
eggtrayicon.c:546: warning: ¡Æreturn¡Ç with no value, in function returning non-void
eggtrayicon.c:572: warning: this function may return with or without a value
Casey, is this change ok? It doesn't look like we ever call this function
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 10 Jul 2007 06:19:09 +0000 |
parents | 39af19fa3351 |
children | 58aeac6930fa |
files | pidgin/eggtrayicon.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/eggtrayicon.c Tue Jul 10 05:56:23 2007 +0000 +++ b/pidgin/eggtrayicon.c Tue Jul 10 06:19:09 2007 +0000 @@ -543,7 +543,7 @@ xdisplay = egg_tray_icon_get_x_display(icon); if (xdisplay == NULL) - return; + return 0; ev.type = ClientMessage; ev.window = (Window)gtk_plug_get_id (GTK_PLUG (icon));