pidgin/pidgin

Fix some easy compiler warnings

2020-08-16, Gary Kramlich
05663def7b82
Fix some easy compiler warnings

make ggp_date_from_iso8601 use a GDateTime instead of GTimeVal and have it return a gint64

Wrap a signal callback in a G_CALLBACK like it should be

Remove some unused variables

Only include sysctl.h on platforms where we need it. It's deprecated under gcc now.

Testing Done:
Compiled on freebsd 12.0, netbsd 9.0, openbsd 6.7, mac, and linux without issues.

Reviewed at https://reviews.imfreedom.org/r/69/
#include <winver.h>
VS_VERSION_INFO VERSIONINFO
FILEVERSION @PURPLE_MAJOR_VERSION@,@PURPLE_MINOR_VERSION@,@PURPLE_MICRO_VERSION@,0
PRODUCTVERSION @PURPLE_MAJOR_VERSION@,@PURPLE_MINOR_VERSION@,@PURPLE_MICRO_VERSION@,0
FILEFLAGSMASK 0
FILEFLAGS 0
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", "The Pidgin developer community"
VALUE "FileDescription", "Finch instant messenger"
VALUE "FileVersion", "@PURPLE_VERSION@"
VALUE "InternalName", "finch"
VALUE "LegalCopyright", "Copyright (C) 1998-2014 The Pidgin developer community (See the COPYRIGHT file in the source distribution)."
VALUE "OriginalFilename", "finch.exe"
VALUE "ProductName", "Finch"
VALUE "ProductVersion", "@PURPLE_VERSION@"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END