xembed: remove useless comments

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-06-30 20:15:03 +02:00
parent db49685413
commit fc000acc8e
2 changed files with 26 additions and 28 deletions

View File

@ -61,7 +61,6 @@ xembed_message_send(xcb_connection_t *connection, xcb_window_t towin,
{
xcb_client_message_event_t ev;
/** \todo use atom cache */
p_clear(&ev, 1);
ev.response_type = XCB_CLIENT_MESSAGE;
ev.window = towin;
@ -88,7 +87,6 @@ xembed_info_get(xcb_connection_t *connection, xcb_window_t win, xembed_info_t *i
uint32_t *data;
bool ret = false;
/** \todo use atom cache */
prop_c = xcb_get_property_unchecked(connection, false, win, _XEMBED_INFO,
XCB_GET_PROPERTY_TYPE_ANY, 0L, 2);

View File

@ -101,7 +101,7 @@ bool xembed_info_get(xcb_connection_t *, xcb_window_t, xembed_info_t *);
* \param focus_type The type of focus.
*/
static inline void
xembed_focus_in (xcb_connection_t *c, xcb_window_t client, long focus_type)
xembed_focus_in(xcb_connection_t *c, xcb_window_t client, long focus_type)
{
xembed_message_send(c, client, XEMBED_FOCUS_IN, focus_type, 0, 0);
}