[gtk+/composite-templates] menu: code style fix
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/composite-templates] menu: code style fix
- Date: Sun, 15 Jul 2012 21:49:45 +0000 (UTC)
commit 711b3a5454b4f772ab72c4f5f0b1f32d554c950e
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]