ecore: fix use of unitialized Ecore_X_Atoms.

SVN revision: 73186
This commit is contained in:
Cedric BAIL 2012-07-03 02:41:35 +00:00
parent ec5414e7bd
commit 31cac0d124
3 changed files with 11 additions and 4 deletions

View File

@ -788,3 +788,7 @@
* Fix crash which occurred in ecore-con when dns resolution failed
immediately due to lack of connectivity
2012-07-03 Cedric Bail
* Fix unitialized use of Ecore_X_Atom.

View File

@ -25,6 +25,9 @@ Fixes:
- Force cancel of all running Ecore_Thread on shutdown.
- Make Ecore_Thread work reliably when called without a running main loop.
* ecore_x
- Fix unitialized Ecore_X_Atom use.
Ecore 1.2.0

View File

@ -176,7 +176,7 @@ ecore_x_e_virtual_keyboard_state_set(Ecore_X_Window win,
EAPI Ecore_X_Virtual_Keyboard_State
ecore_x_e_virtual_keyboard_state_get(Ecore_X_Window win)
{
Ecore_X_Atom atom;
Ecore_X_Atom atom = 0;
LOGFN(__FILE__, __LINE__, __FUNCTION__);
if (!ecore_x_window_prop_atom_get(win, ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_STATE,
@ -720,7 +720,7 @@ ecore_x_e_illume_quickpanel_state_set(Ecore_X_Window win,
EAPI Ecore_X_Illume_Quickpanel_State
ecore_x_e_illume_quickpanel_state_get(Ecore_X_Window win)
{
Ecore_X_Atom atom;
Ecore_X_Atom atom = 0;
LOGFN(__FILE__, __LINE__, __FUNCTION__);
if (!ecore_x_window_prop_atom_get(win,
@ -1261,7 +1261,7 @@ ecore_x_e_illume_indicator_state_set(Ecore_X_Window win,
EAPI Ecore_X_Illume_Indicator_State
ecore_x_e_illume_indicator_state_get(Ecore_X_Window win)
{
Ecore_X_Atom atom;
Ecore_X_Atom atom = 0;
LOGFN(__FILE__, __LINE__, __FUNCTION__);
if (!ecore_x_window_prop_atom_get(win,
@ -1334,7 +1334,7 @@ ecore_x_e_illume_indicator_opacity_set(Ecore_X_Window win,
EAPI Ecore_X_Illume_Indicator_Opacity_Mode
ecore_x_e_illume_indicator_opacity_get(Ecore_X_Window win)
{
Ecore_X_Atom atom;
Ecore_X_Atom atom = 0;
LOGFN(__FILE__, __LINE__, __FUNCTION__);
if (!ecore_x_window_prop_atom_get(win,