[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (cdfeb9fe1dc994397bc7c3678e77eea2ca78cf95)
The branch, master has been updated
via cdfeb9fe1dc994397bc7c3678e77eea2ca78cf95 (commit)
from f4c2355b6c463fcaabc4b82d335edfa7ca2d8689 (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/gtkhid-gdk.c | 11 -----------
src/hid/gtk/gui-output-events.c | 6 ------
src/hid/gtk/gui.h | 2 --
3 files changed, 0 insertions(+), 19 deletions(-)
=================
Commit Messages
=================
commit cdfeb9fe1dc994397bc7c3678e77eea2ca78cf95
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
Revert "hid/gtk: Add hooks to tell the render when we start/stop drawing"
This reverts commit 332cb8ddc1cc032ac29c7d2b9a0051ccc228b6da.
Since crosshair updates are now handled by notifications to the GUI,
this isn't required for the forthcoming PCB+GL support.
:100644 100644 bd6e035... b583325... M src/hid/gtk/gtkhid-gdk.c
:100644 100644 d3678b7... d969dd2... M src/hid/gtk/gui-output-events.c
:100644 100644 cfb9708... 8b86396... M src/hid/gtk/gui.h
=========
Changes
=========
commit cdfeb9fe1dc994397bc7c3678e77eea2ca78cf95
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
Revert "hid/gtk: Add hooks to tell the render when we start/stop drawing"
This reverts commit 332cb8ddc1cc032ac29c7d2b9a0051ccc228b6da.
Since crosshair updates are now handled by notifications to the GUI,
this isn't required for the forthcoming PCB+GL support.
diff --git a/src/hid/gtk/gtkhid-gdk.c b/src/hid/gtk/gtkhid-gdk.c
index bd6e035..b583325 100644
--- a/src/hid/gtk/gtkhid-gdk.c
+++ b/src/hid/gtk/gtkhid-gdk.c
@@ -1060,17 +1060,6 @@ ghid_drawing_area_configure_hook (GHidPort *port)
}
}
-gboolean
-ghid_start_drawing (GHidPort *port)
-{
- return TRUE;
-}
-
-void
-ghid_end_drawing (GHidPort *port)
-{
-}
-
void
ghid_screen_update (void)
{
diff --git a/src/hid/gtk/gui-output-events.c b/src/hid/gtk/gui-output-events.c
index d3678b7..d969dd2 100644
--- a/src/hid/gtk/gui-output-events.c
+++ b/src/hid/gtk/gui-output-events.c
@@ -646,13 +646,8 @@ ghid_port_window_motion_cb (GtkWidget * widget,
gdouble dx, dy;
static gint x_prev = -1, y_prev = -1;
-
gdk_event_request_motions (ev);
- if (!ghid_start_drawing (out))
- return FALSE;
-
-
if (out->panning)
{
dx = gport->zoom * (x_prev - ev->x);
@@ -670,7 +665,6 @@ ghid_port_window_motion_cb (GtkWidget * widget,
queue_tooltip_update (out);
#endif
- ghid_end_drawing (out);
return FALSE;
}
diff --git a/src/hid/gtk/gui.h b/src/hid/gtk/gui.h
index cfb9708..8b86396 100644
--- a/src/hid/gtk/gui.h
+++ b/src/hid/gtk/gui.h
@@ -496,8 +496,6 @@ void ghid_show_crosshair (gboolean show);
void ghid_init_renderer (int *, char ***, GHidPort *);
void ghid_init_drawing_widget (GtkWidget *widget, GHidPort *);
void ghid_drawing_area_configure_hook (GHidPort *port);
-gboolean ghid_start_drawing (GHidPort *port);
-void ghid_end_drawing (GHidPort *port);
void ghid_screen_update (void);
gboolean ghid_drawing_area_expose_cb (GtkWidget *, GdkEventExpose *,
GHidPort *);
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs