* gtkutil.c (update_frame_tool_bar): Use EQ where appropriate.
authorDmitry Antipov <dmantipov@yandex.ru>
Tue, 14 Aug 2012 04:47:05 +0000 (08:47 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Tue, 14 Aug 2012 04:47:05 +0000 (08:47 +0400)
src/ChangeLog
src/gtkutil.c

index fd39d7b..febf65b 100644 (file)
@@ -1,3 +1,7 @@
+2012-08-14  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       * gtkutil.c (update_frame_tool_bar): Use EQ where appropriate.
+
 2012-08-14  Paul Eggert  <eggert@cs.ucla.edu>
 
        * gtkutil.c (xg_mark_data): Don't assume C99.
index 623f32a..e538c35 100644 (file)
@@ -4583,8 +4583,8 @@ update_frame_tool_bar (FRAME_PTR f)
       && tbinfo->n_last_items == f->n_tool_bar_items
       && tbinfo->hmargin == hmargin && tbinfo->vmargin == vmargin
       && tbinfo->dir == dir
-      && Fequal (tbinfo->style, style) == Qt
-      && Fequal (tbinfo->last_tool_bar, f->tool_bar_items) == Qt)
+      && EQ (Fequal (tbinfo->style, style), Qt)
+      && EQ (Fequal (tbinfo->last_tool_bar, f->tool_bar_items), Qt))
     {
       UNBLOCK_INPUT;
       return;