pidgin/pidgin
Clone
Summary
Browse
Changes
Graph
Create a glibcompat.h to define G_GNUC_(BEGIN,END)_IGNORE_DEPRECATIONS which was added in 2.32.0 but we only require 2.16.0
release-2.x.y
2019-11-11, Gary Kramlich
dc5e8cca7434
Create a glibcompat.h to define G_GNUC_(BEGIN,END)_IGNORE_DEPRECATIONS which was added in 2.32.0 but we only require 2.16.0
using
System
;
namespace
Purple
{
public
class
Event
{
private
IntPtr
handle
;
private
string
signal
;
public
Event
(
IntPtr
h
,
string
s
)
{
handle
=
h
;
signal
=
s
;
}
public
void
connect
(
object
plugin
,
Signal
.
Handler
handler
)
{
Signal
.
connect
(
handle
,
plugin
,
signal
,
handler
);
}
}
}