[gtk+/xi2] GdkEventSource: Fix code formatting errors.
- From: Carlos Garnacho <carlosg src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/xi2] GdkEventSource: Fix code formatting errors.
- Date: Fri, 27 Nov 2009 15:03:42 +0000 (UTC)
commit ac5cd854a5074c5b8362aa62a9c70120db7c1994
Author: Carlos Garnacho <carlos gnome org>
Date: Fri Nov 27 01:43:51 2009 +0100
GdkEventSource: Fix code formatting errors.
Spotted by Matthias Clasen.
gdk/x11/gdkeventsource.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gdk/x11/gdkeventsource.c b/gdk/x11/gdkeventsource.c
index fa5f941..be42ebd 100644
--- a/gdk/x11/gdkeventsource.c
+++ b/gdk/x11/gdkeventsource.c
@@ -52,9 +52,9 @@ static GSourceFuncs event_funcs = {
static GList *event_sources = NULL;
static gint
-gdk_event_apply_filters (XEvent *xevent,
+gdk_event_apply_filters (XEvent *xevent,
GdkEvent *event,
- GList *filters)
+ GList *filters)
{
GList *tmp_list;
GdkFilterReturn result;
@@ -68,7 +68,7 @@ gdk_event_apply_filters (XEvent *xevent,
tmp_list = tmp_list->next;
result = filter->function (xevent, event, filter->data);
- if (result != GDK_FILTER_CONTINUE)
+ if (result != GDK_FILTER_CONTINUE)
return result;
}
@@ -255,7 +255,7 @@ _gdk_events_queue (GdkDisplay *display)
display_x11 = GDK_DISPLAY_X11 (display);
event_source = (GdkEventSource *) display_x11->event_source;
- while (!_gdk_event_queue_find_first(display) && XPending (xdisplay))
+ while (!_gdk_event_queue_find_first (display) && XPending (xdisplay))
{
XNextEvent (xdisplay, &xevent);
@@ -372,7 +372,7 @@ gdk_event_source_select_events (GdkEventSource *source,
if (mask != 0)
{
gdk_event_translator_select_window_events (translator, window, mask);
- event_mask &= ~(mask);
+ event_mask &= ~mask;
}
list = list->next;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]