Sisyphus repositório
Última atualização: 19 setembro 2021 | SRPMs: 17353 | Visitas: 21906442
en ru br
ALT Linux repositórios
S:0.20.0-alt4
5.0: 0.9.2-alt1
4.1: 0.9.7-alt1.M41.2
4.0: 0.6.1-alt2
3.0: 0.0.3-alt0.1

Group :: Escritórios
RPM: xneur

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: xneur-gcc-10.patch
Download


--- a/lib/main/program.c
+++ b/lib/main/program.c
@@ -315,7 +315,7 @@
 
 	p->buffer->save_and_clear(p->buffer, p->last_window);
 	p->correction_buffer->clear(p->correction_buffer);
-	p->correction_action = ACTION_NONE;
+	p->correction_action = CORRECTION_NONE;
 
 	if (status == FOCUS_NONE)
 		return;
@@ -426,7 +426,7 @@
 				p->correction_buffer = buffer_init(xconfig->handle, main_window->keymap);
 				p->correction_buffer->handle = xconfig->handle;
 				p->correction_buffer->keymap = main_window->keymap;
-				p->correction_action = ACTION_NONE;
+				p->correction_action = CORRECTION_NONE;
 
 				//log_message (DEBUG, _("Now layouts count %d"), xconfig->handle->total_languages);
 				log_message(LOG, _("Keyboard layouts present in system:"));
@@ -609,7 +609,7 @@
 						//{
 							p->buffer->save_and_clear(p->buffer, p->focus->owner_window);
 							p->correction_buffer->clear(p->correction_buffer);
-							p->correction_action = ACTION_NONE;
+							p->correction_action = CORRECTION_NONE;
 							if ((Window)p->focus->get_focused_window(p->focus) != (Window)p->focus->owner_window)
 							{
 								p->update(p);
--- a/lib/lib/xneur.h
+++ b/lib/lib/xneur.h
@@ -32,7 +32,7 @@
 #	include <enchant.h>
 #endif
 
-struct _window *main_window;
+extern struct _window *main_window;
 
 struct _xneur_language
 {
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009