2007-08-30 Albert Lee <
[email protected]>
* SFEcheese.spec: *NEW* Cheese - GNOME application for taking pictures
and videos from a webcam
* SFEgnome-power-manager.spec: Add missing doc dir
* SFEpostr.spec: *NEW* Postr - upload photographs to Flickr
* patches/cheese-01-nongnu.diff: Fix GNU environment assumptions
* patches/cheese-02-sunpro.diff: Studio compatibility
* patches/cheese-03-flags.diff: Fix CFLAGS and LDFLAGS in build
* patches/cheese-04-threads.diff: Add thread safety for GDK
--- cheese-0.2.3.orig/src/cheese.c 2007年 8月 17日 五 14:24:17
+++ cheese-0.2.3/src/cheese.c 2007年 8月 30日 四 19:27:18
@@ -58,6 +58,8 @@
GnomeVFSURI *uri;
g_thread_init (NULL);
+ gdk_threads_init ();
+ gdk_threads_enter ();
gtk_init (&argc, &argv);
gst_init (&argc, &argv);
gnome_vfs_init ();
@@ -116,6 +118,7 @@
G_CALLBACK (cheese_window_expose_cb), NULL);
gtk_main ();
+ gdk_threads_leave ();
return EXIT_SUCCESS;
}