Mercurial > pidgin.yaz
view libpurple/protocols/Makefile.mingw @ 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 | 81a2ec76c285 |
children |
line wrap: on
line source
# Makefile.mingw # # Author: hermanator12002@yahoo.com # Date 9/11/02 # Description: Protocols Makefile for win32 (mingw) port of libpurple # PIDGIN_TREE_TOP := ../.. include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak SUBDIRS = gg irc jabber msn mxit novell null oscar sametime silc simple yahoo bonjour myspace .PHONY: all install clean all: for subdir in $(SUBDIRS); do \ $(MAKE) -C $$subdir -f $(MINGW_MAKEFILE) || exit 1; \ done; install: all for subdir in $(SUBDIRS); do \ $(MAKE) -C $$subdir -f $(MINGW_MAKEFILE) install || exit 1; \ done; clean: for subdir in $(SUBDIRS); do \ $(MAKE) -C $$subdir -f $(MINGW_MAKEFILE) clean || exit 1; \ done;