annotate doc/ui-ops.dox @ 24421:3d6fe79753c3

This should fix another crash I've seen. We weren't correctly cancelling the proxy connect when we destroyed the servconn because we were only calling msn_servconn_disconnect() if we had actually connected. So always call msn_servconn_disconnect() from msn_servconn_destroy() and let the disconnect function deal with only closing stuff that is actually open. Here's the backtrace: #0 0x0000000000000000 in ?? () #1 0x00000000005f95e0 in connect_cb (data=0x2ab92ef6e7b0, source=7, error_message=0x0) at servconn.c:185 #2 0x000000000056e7da in purple_proxy_connect_data_connected (connect_data=0x2ab92ef70260) at proxy.c:598 #3 0x000000000056e90d in socket_ready_cb (data=0x2ab92ef70260, source=7, cond=PURPLE_INPUT_WRITE) at proxy.c:657 #4 0x00000000004db70c in pidgin_io_invoke (source=0x2ab92ee4be50, condition=G_IO_OUT, data=0x2ab92dfd3130) at gtkeventloop.cc:79 In frame 1, servconn is not valid (it has already been freed)
author Mark Doliner <mark@kingant.net>
date Tue, 18 Nov 2008 07:32:23 +0000
parents e3bf822c19c8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
22380
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