Mercurial > pidgin
annotate doc/ui-ops.dox @ 22403:dfe4a3e3336a
serv_got_joined_chat() emits "chat-joined" but it also calls
purple_conversation_new() which emits "conversation-created", so attaching
to both signals would make create_conv and attach_signals to be called twice,
leaking the list of signal ids:
==30871== 67 (43 direct, 24 indirect) bytes in 3 blocks are definitely lost in loss record 94 of 265
==30871== at 0x4006A6E: malloc (vg_replace_malloc.c:207)
==30871== by 0xA1CAF5: g_malloc (in /lib/libglib-2.0.so.0.1400.6)
==30871== by 0xA31B3A: g_slice_alloc (in /lib/libglib-2.0.so.0.1400.6)
==30871== by 0xA32D9A: g_slist_append (in /lib/libglib-2.0.so.0.1400.6)
==30871== by 0x4F1CA4A: attach_signals (notify.c:321)
==30871== by 0x4F1CDCA: conv_created (notify.c:388)
Credit goes to Andrew Gaul for sending me this valgrind trace, blame me if
this breaks anything.
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Mon, 03 Mar 2008 07:03:54 +0000 |
parents | e3bf822c19c8 |
children |
rev | line source |
---|---|
18834
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
1 /** @page ui-ops UiOps structures |
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
2 |
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
3 When implementing a UI for libpurple, you need to fill in various UiOps |
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
4 structures: |
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
5 |
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
6 - #PurpleAccountUiOps |
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
7 - #PurpleBlistUiOps |
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
8 - #PurpleConnectionUiOps |
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
9 - #PurpleConversationUiOps |
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
10 - #PurpleCoreUiOps |
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
11 - #PurpleDebugUiOps |
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
12 - #PurpleDnsQueryUiOps |
22390
e3bf822c19c8
Document PurpleEventLoopUiOps and associated misc.
Will Thompson <will.thompson@collabora.co.uk>
parents:
18834
diff
changeset
|
13 - #PurpleEventLoopUiOps (without this, nothing will work and you will cry) |
18834
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
14 - #PurpleIdleUiOps |
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
15 - #PurpleNotifyUiOps |
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
16 - #PurplePrivacyUiOps |
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
17 - #PurpleRequestUiOps |
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
18 - #PurpleRoomlistUiOps |
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
19 - #PurpleSoundUiOps |
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
20 - #PurpleWhiteboardUiOps |
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
21 - #PurpleXferUiOps |
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
22 |
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
23 */ |
500c785c109d
Add a page to the documentation listing all UiOps structures.
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
24 // vim: ft=c.doxygen |