Mercurial > pidgin
annotate doc/core-signals.dox @ 30263:1f44f0144ff8
Get rid of a few unnecessary strlen/g_snprintf's.
This change also includes HanzZ's patch (slightly modified) to fix a
valgrind error:
Conditional jump or move depends on uninitialised value(s)
at 0x4C28029: strlen (mc_replace_strmem.c:242)
by 0x54E5821: g_strdup (in /usr/lib/libglib-2.0.so.0.2000.1)
by 0x520B276: purple_url_parse (in /usr/lib/libpurple.so.0.7.1)
by 0x520BBE1: (within /usr/lib/libpurple.so.0.7.1)
by 0x471330: io_invoke(_GIOChannel*, GIOCondition, void*) (geventloop.cpp:51)
by 0x54C5209: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.2000.1)
by 0x54C88DF: (within /usr/lib/libglib-2.0.so.0.2000.1)
by 0x54C8DAC: g_main_loop_run (in /usr/lib/libglib-2.0.so.0.2000.1)
by 0x482BEE: GlooxMessageHandler::GlooxMessageHandler(std::string const&) (main.cpp:1016)
by 0x4830E3: main (main.cpp:1996)
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 12 Jul 2010 15:13:31 +0000 |
parents | 4179ab2cfe1f |
children |
rev | line source |
---|---|
12053 | 1 /** @page core-signals Core Signals |
2 | |
3 @signals | |
4 @signal quitting | |
27912
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
5 @signal uri-handler |
12053 | 6 @endsignals |
7 | |
20807
e0613cf8c493
Add some links from signal documentation back to the documentation for the
Will Thompson <will.thompson@collabora.co.uk>
parents:
16196
diff
changeset
|
8 @see core.h |
e0613cf8c493
Add some links from signal documentation back to the documentation for the
Will Thompson <will.thompson@collabora.co.uk>
parents:
16196
diff
changeset
|
9 |
12053 | 10 <hr> |
11 | |
12 @signaldef quitting | |
13 @signalproto | |
14 void (*quitting)(); | |
15 @endsignalproto | |
16 @signaldesc | |
16196 | 17 Emitted when libpurple is quitting. |
12053 | 18 @endsignaldef |
19 | |
27912
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
20 @signaldef uri-handler |
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
21 @signalproto |
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
22 gboolean (*uri_handler)(const gchar *proto, const gchar *cmd, GHashTable *params); |
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
23 @endsignalproto |
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
24 @signaldesc |
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
25 Emitted when handling a registered URI. |
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
26 @param proto The protocol of the URI. |
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
27 @param cmd The 'command' of the URI. |
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
28 @param params Any key/value parameters from the URI. |
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
29 @endsignaldef |
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
30 |
12053 | 31 */ |
20807
e0613cf8c493
Add some links from signal documentation back to the documentation for the
Will Thompson <will.thompson@collabora.co.uk>
parents:
16196
diff
changeset
|
32 // vim: syntax=c.doxygen tw=75 et |