formatting

DEAR CEDRIC: PLEASE LEARN HOW TO FORMAT YOUR CODE CORRECTLY. THANKS.


SVN revision: 79276
This commit is contained in:
Mike Blumenkrantz 2012-11-14 09:57:11 +00:00
parent 714185fd1a
commit cc887a265c
5 changed files with 120 additions and 112 deletions

View File

@ -39,3 +39,4 @@ e_alert_show(void)
} }
return; return;
} }

View File

@ -389,9 +389,11 @@ _e_alert_run(void)
case XCB_BUTTON_PRESS: case XCB_BUTTON_PRESS:
ret = _e_alert_handle_button_press(event); ret = _e_alert_handle_button_press(event);
break; break;
case XCB_KEY_PRESS: case XCB_KEY_PRESS:
ret = _e_alert_handle_key_press(event); ret = _e_alert_handle_key_press(event);
break; break;
case XCB_EXPOSE: case XCB_EXPOSE:
{ {
xcb_expose_event_t *ev; xcb_expose_event_t *ev;
@ -404,6 +406,7 @@ _e_alert_run(void)
break; break;
} }
default: default:
break; break;
} }
@ -517,7 +520,8 @@ _e_alert_draw_title(void)
xcb_image_text_8(conn, strlen(title), win, gc, x, y, title); xcb_image_text_8(conn, strlen(title), win, gc, x, y, title);
} }
struct { struct
{
int signal; int signal;
const char *name; const char *name;
} signal_name[5] = { } signal_name[5] = {
@ -561,7 +565,6 @@ _e_alert_draw_text(void)
"\n" "\n"
"Please compile latest svn E17 and EFL with\n" "Please compile latest svn E17 and EFL with\n"
"-g and -ggdb3 in your CFLAGS.\n", pid); "-g and -ggdb3 in your CFLAGS.\n", pid);
} }
} }
else else
@ -661,3 +664,4 @@ _e_alert_draw_button_text(void)
xcb_image_text_8(conn, strlen(str2), btn2, gc, x, (10 + fa), str2); xcb_image_text_8(conn, strlen(str2), btn2, gc, x, (10 + fa), str2);
} }

View File

@ -54,6 +54,7 @@ _e_write_safe_int(int fd, const char *buf, size_t size)
} }
} }
} }
#endif #endif
/* a tricky little devil, requires e and it's libs to be built /* a tricky little devil, requires e and it's libs to be built
@ -120,3 +121,4 @@ e_sigabrt_act(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED_
ecore_x_sync(); ecore_x_sync();
e_alert_show(); e_alert_show();
} }

View File

@ -88,3 +88,4 @@ _e_startup_event_cb(void *data, int ev_type __UNUSED__, void *ev __UNUSED__)
_e_startup(); _e_startup();
return ECORE_CALLBACK_PASS_ON; return ECORE_CALLBACK_PASS_ON;
} }