[gtk+] menu: code style fix
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] menu: code style fix
- Date: Fri, 13 Jul 2012 13:00:29 +0000 (UTC)
commit 10fa09137ef8cffdbcdb429b511e6e270ca379b2
Author: Carlos Garnacho <carlos lanedo com>
Date: Fri Jul 13 14:47:38 2012 +0200
menu: code style fix
The newline before != looks unintentional
gtk/gtkmenu.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index 88f55f9..ec7bb1f 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -4314,8 +4314,7 @@ gtk_menu_captured_event (GtkWidget *widget,
break;
case GDK_TOUCH_UPDATE:
case GDK_MOTION_NOTIFY:
- if ((!gdk_event_get_state (event, &state) || (state & GDK_BUTTON1_MASK)
-!= 0) &&
+ if ((!gdk_event_get_state (event, &state) || (state & GDK_BUTTON1_MASK) != 0) &&
gdk_device_get_source (source_device) == GDK_SOURCE_TOUCHSCREEN)
{
if (!priv->drag_already_pressed)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]