Mercurial > pidgin.yaz
annotate pidgin/pidgin.pc.in @ 22393: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 | 389a51db740f |
children | 1d969bd224f2 |
rev | line source |
---|---|
15616
4ea624932995
Add stuff for pkg-config
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
1 prefix=@prefix@ |
4ea624932995
Add stuff for pkg-config
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
2 exec_prefix=@exec_prefix@ |
4ea624932995
Add stuff for pkg-config
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
3 libdir=@libdir@ |
4ea624932995
Add stuff for pkg-config
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
4 includedir=@includedir@ |
21455
389a51db740f
The order of these variable declarations is important if we want the
Stu Tomlinson <stu@nosnilmot.com>
parents:
21323
diff
changeset
|
5 datarootdir=@datarootdir@ |
15616
4ea624932995
Add stuff for pkg-config
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
6 datadir=@datadir@ |
4ea624932995
Add stuff for pkg-config
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
7 sysconfdir=@sysconfdir@ |
15885
c6e563dfaa7a
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents:
15616
diff
changeset
|
8 |
15616
4ea624932995
Add stuff for pkg-config
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
9 Name: Pidgin |
4ea624932995
Add stuff for pkg-config
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
10 Description: Pidgin is a GTK2-based instant messenger application. |
4ea624932995
Add stuff for pkg-config
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
11 Version: @VERSION@ |
15885
c6e563dfaa7a
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents:
15616
diff
changeset
|
12 Requires: gtk+-2.0 purple |
15616
4ea624932995
Add stuff for pkg-config
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
13 Cflags: -I${includedir}/pidgin |
4ea624932995
Add stuff for pkg-config
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
14 |