Wed, 10 Oct 2018 14:39:23 -0500
pidgindebug: Provide fallbacks for Gtk < 3.22 functionality
gtk_popover_popup() and gtk_menu_popup_at_widget() snuck their way
into the Pidgin debug window code. This patch uses gtk_widget_show()
as a fallback for the former, which skips the transition, but should
work, and gtk_menu_popup_at_pointer() for the latter, which we have
a compat function for. It's not quite the same functionality, but
it should fix the build with Gtk < 3.22 and should be good enough for
anyone running that old of a Gtk version.
#include <winver.h> #include "resource.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", "Pidgin instant messenger" VALUE "FileVersion", "@PURPLE_VERSION@" VALUE "InternalName", "pidgin" VALUE "LegalCopyright", "Copyright (C) 1998-2014 The Pidgin developer community (See the COPYRIGHT file in the source distribution)." VALUE "OriginalFilename", "pidgin.exe" VALUE "ProductName", "Pidgin" VALUE "ProductVersion", "@PURPLE_VERSION@" END END BLOCK "VarFileInfo" BEGIN VALUE "Translation", 0x409, 1200 END END PIDGIN_ICON ICON "../pixmaps/pidgin.ico"