Mercurial > pidgin.yaz
annotate pidgin/pidgin-2.pc.in @ 32138:e2c6e4fc3c84
Start looking at the GError parameter every time we call these functions:
- gdk_pixbuf_loader_write
- gdk_pixbuf_loader_close
- gdk_pixbuf_new_from_file
- gdk_pixbuf_new_from_file_at_size
- gdk_pixbuf_new_from_file_at_scale
There are times when gdkpixbuf returns a semi-invalid GdkPixbuf object and
also sets the GError. If this happens we want to discard and ignore the
GdkPixbuf object because it can cause problems. For example, calling
gdk_pixbuf_scale_simple() causes gdkpixbuf to rapidly consume memory in
an infinite loop. And that's bad.
This commit adds some helper functions to gtkutils.[c|h] that make it a
little easier to check the GError value. We should use them everywhere
we call any of the above functions.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 22 Jun 2011 07:07:28 +0000 |
parents | a52831eada67 |
children |
rev | line source |
---|---|
29735
a52831eada67
Add pidgin-2 and purple-2 .pc variants
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
1 prefix=@prefix@ |
a52831eada67
Add pidgin-2 and purple-2 .pc variants
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
2 exec_prefix=@exec_prefix@ |
a52831eada67
Add pidgin-2 and purple-2 .pc variants
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
3 libdir=@libdir@ |
a52831eada67
Add pidgin-2 and purple-2 .pc variants
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
4 includedir=@includedir@ |
a52831eada67
Add pidgin-2 and purple-2 .pc variants
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
5 datarootdir=@datarootdir@ |
a52831eada67
Add pidgin-2 and purple-2 .pc variants
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
6 datadir=@datadir@ |
a52831eada67
Add pidgin-2 and purple-2 .pc variants
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
7 sysconfdir=@sysconfdir@ |
a52831eada67
Add pidgin-2 and purple-2 .pc variants
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
8 |
a52831eada67
Add pidgin-2 and purple-2 .pc variants
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
9 plugindir=${libdir}/pidgin |
a52831eada67
Add pidgin-2 and purple-2 .pc variants
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
10 |
a52831eada67
Add pidgin-2 and purple-2 .pc variants
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
11 Name: Pidgin |
a52831eada67
Add pidgin-2 and purple-2 .pc variants
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
12 Description: Pidgin is a GTK2-based instant messenger application. |
a52831eada67
Add pidgin-2 and purple-2 .pc variants
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
13 Version: @VERSION@ |
a52831eada67
Add pidgin-2 and purple-2 .pc variants
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
14 Requires: gtk+-2.0 purple |
a52831eada67
Add pidgin-2 and purple-2 .pc variants
Will Thompson <will.thompson@collabora.co.uk>
parents:
diff
changeset
|
15 Cflags: -I${includedir} |