Ejemplo n.º 1
0
static gboolean
on_shutdown (gpointer user_data)
{
	debug_enter ("liferea_shutdown");

	/* prevents signal handler from calling us a second time */
	if (runState == STATE_SHUTDOWN)
		return FALSE;
		
	runState = STATE_SHUTDOWN;

	/* order is important ! */
	itemlist_free ();
	update_deinit ();
	db_deinit ();
	social_free ();

	liferea_shell_destroy ();
#ifdef USE_SM
	/* unplug */
	session_end ();
#endif
	conf_deinit ();
	
	gtk_main_quit ();
	
	debug_exit ("liferea_shutdown");
	return FALSE;
}
Ejemplo n.º 2
0
JNIEXPORT void JNICALL 
Java_galapi_ItemList_nativeFreeItemList
(JNIEnv *jne, jclass jc, jint ji) {
  itemlist_free ((itemlist)ji);

}// Java_ItemList_nativeFreeItemList()