[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: pcb.git: branch: master updated (09020e6a57e5e9b901b125ab6c818d626b9f92a5)



The branch, master has been updated
       via  09020e6a57e5e9b901b125ab6c818d626b9f92a5 (commit)
      from  515f6d3967aba780f056e79879eac1c1cca4fd1c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 src/hid/gtk/gui-output-events.c |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)


=================
 Commit Messages
=================

commit 09020e6a57e5e9b901b125ab6c818d626b9f92a5
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    hid/gtk: Remove unused function in_draw_state()

:100644 100644 9ea3207... 86abad2... M	src/hid/gtk/gui-output-events.c

=========
 Changes
=========

commit 09020e6a57e5e9b901b125ab6c818d626b9f92a5
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    hid/gtk: Remove unused function in_draw_state()

diff --git a/src/hid/gtk/gui-output-events.c b/src/hid/gtk/gui-output-events.c
index 9ea3207..86abad2 100644
--- a/src/hid/gtk/gui-output-events.c
+++ b/src/hid/gtk/gui-output-events.c
@@ -610,21 +610,6 @@ ghid_port_key_press_cb (GtkWidget * drawing_area,
   return handled;
 }
 
-static gboolean
-in_draw_state (void)
-{
-  if ((Settings.Mode == LINE_MODE
-       && Crosshair.AttachedLine.State != STATE_FIRST)
-      || (Settings.Mode == ARC_MODE
-	  && Crosshair.AttachedBox.State != STATE_FIRST)
-      || (Settings.Mode == RECTANGLE_MODE
-	  && Crosshair.AttachedBox.State != STATE_FIRST)
-      || (Settings.Mode == POLYGON_MODE
-	  && Crosshair.AttachedLine.State != STATE_FIRST))
-    return TRUE;
-  return FALSE;
-}
-
 gboolean
 ghid_port_button_press_cb (GtkWidget * drawing_area,
 			   GdkEventButton * ev, GtkUIManager * ui)




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs