libegg r796 - trunk/libegg/smclient



Author: danw
Date: 2007-02-10 20:03:53 +0000 (Sat, 10 Feb 2007)
New Revision: 796
ViewCVS link: http://svn.gnome.org/viewcvs/libegg?rev=796&view=rev

Added:
   trunk/libegg/smclient/ChangeLog
   trunk/libegg/smclient/logout-test.c
Modified:
   trunk/libegg/smclient/
   trunk/libegg/smclient/Makefile.am
   trunk/libegg/smclient/eggsmclient-private.h
   trunk/libegg/smclient/eggsmclient-win32.c
   trunk/libegg/smclient/eggsmclient-xsmp.c
   trunk/libegg/smclient/eggsmclient.c
Log:
	* eggsmclient-win32.c: Make this compile and at least partially
	work (quit_requested doesn't work and probably needs to be
	rewritten using a second thread as suggested in the comments in
	will_quit()). Patch from Yevgen Muntyan, #399315.

	* eggsmclient-xsmp.c: Use gdk_threads_enter/_leave around gtk
	calls and EggSMClient signal emissions. Based on a patch from
	Yevgen Muntyan.

	* Makefile.am:
	* eggsmclient.c (egg_sm_client_get): Change the #defines from
	HAVE_XSMP and HAVE_DBUS to EGG_SM_CLIENT_BACKEND_XSMP and
	EGG_SM_CLIENT_BACKEND_DBUS, to avoid being tricked by the app
	having its own HAVE_DBUS define. Needs to be fixed better though.
	Also change the win32 check from G_OS_WIN32 to
	GDK_WINDOWING_WIN32, since it assumes the win32 gdk backend.

	* logout-test.c: New test program to test logout
	notification/cancellation support (and demonstrate that it doesn't
	really work on Windows).





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]