Commit graph

9 commits

Author SHA1 Message Date
Bastien Nocera
f1a29fc6dc Stop the font thumbnailer eating all the CPU, and limit the resources to
2009-03-02  Bastien Nocera  <hadess@hadess.net>

	* font-viewer/Makefile.am:
	* font-viewer/font-thumbnailer.c (main):
	* font-viewer/totem-resources.c (set_resource_limits),
	(time_monitor), (totem_resources_monitor_start),
	(totem_resources_monitor_stop):
	* font-viewer/totem-resources.h: Stop the font thumbnailer
	eating all the CPU, and limit the resources to 30 seconds
	and 256MB of RAM, which should be plenty (Closes: #573795)


svn path=/trunk/; revision=9306
2009-03-02 23:06:10 +00:00
Jens Granseuer
3bbde05235 Patch by: Jonas Bonn
2009-02-18  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Jonas Bonn

	* font-viewer/font-thumbnailer.c: (main): initialize the type system.
	Fixes hangs when thumbnailing (bug #572189)

svn path=/trunk/; revision=9275
2009-02-18 18:51:28 +00:00
Thomas Hindoe Paaboel Andersen
49cfd993c1 Replace gdk_pixbuf_unref with g_object_unref
svn path=/trunk/; revision=9253
2009-02-09 13:52:54 +00:00
Jens Granseuer
cabbecfa4b fix another leak, an invalid free, and a simplify error handling
2008-11-18  Jens Granseuer  <jensgr@gmx.net>

	* font-viewer/font-view.c: (add_face_info), (set_icon):
	* font-viewer/ftstream-vfs.c: (vfs_stream_open): fix another
	leak, an invalid free, and a simplify error handling

svn path=/trunk/; revision=9144
2008-11-18 20:04:02 +00:00
Rodrigo Moya
afbe70bca0 don't leak icon_name.
2008-11-18  Rodrigo Moya <rodrigo@gnome-db.org>

	* font-viewer/font-view.c (set_icon): don't leak icon_name.

	* font-viewer/ftstream-vfs.c (vfs_stream_open): don't leak
	GFile pointer.

svn path=/trunk/; revision=9143
2008-11-18 17:59:38 +00:00
Rodrigo Moya
8cff6042ab added missing GFileInfo declaration.
2008-11-18  Rodrigo Moya <rodrigo@gnome-db.org>

	* font-viewer/font-view.c (set_icon): added missing
	GFileInfo declaration.

2008-11-18  Rodrigo Moya <rodrigo@gnome-db.org>

	Bug 561319 – Remove gnome-vfs dependency from font-viewer

	Patch from Saleem Abdulrasool <compnerd@compnerd.org>

	* font-viewer/*:
	* configure.in: Remove gnome-vfs dependency for font-viewer.

svn path=/trunk/; revision=9142
2008-11-18 17:46:12 +00:00
Søren Sandmann
fab37a0965 Stop linking to the gnome libraries, except in the shell and in the font
Sun Oct 26 19:15:22 2008  Søren Sandmann  <sandmann@redhat.com>

	* configure.in: Stop linking to the gnome libraries, except in the
	shell and in the font viewer.


svn path=/trunk/; revision=9127
2008-10-26 23:15:42 +00:00
Davyd Madeley
d7696237c8 - hook gnome-font-viewer and gnome-thumbnail font back into the build -
2008-10-16  Davyd Madeley  <davyd@madeley.id.au>

        * configure.in:
        * font-viewer/Makefile.am:
        * Makefile.am:
        - hook gnome-font-viewer and gnome-thumbnail font back into the build
        - need to check to see if the strings were lost from the translations

svn path=/trunk/; revision=9068
2008-10-16 13:52:09 +00:00
Davyd Madeley
a6e07cf5f6 remove properly resurrect gnome-font-viewer and gnome-thumbnail-font from
2008-10-15  Davyd Madeley  <davyd@madeley.id.au>

        * vfs-methods/: remove properly
        * font-viewer/: resurrect gnome-font-viewer and gnome-thumbnail-font
          from revision 8786 (not yet added to toplevel Makefile)

svn path=/trunk/; revision=9066
2008-10-15 14:46:43 +00:00