[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (6bc04df573b6ac3f71554bdbaf6175da63add1d5)
The branch, master has been updated
via 6bc04df573b6ac3f71554bdbaf6175da63add1d5 (commit)
from e256b71f5e53d5fe4e2f20c3563c1dc20a17b3a9 (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/gtk-pcb-cell-renderer-visibility.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
=================
Commit Messages
=================
commit 6bc04df573b6ac3f71554bdbaf6175da63add1d5
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
hid/gtk: Remove unused state variable in gtk_pcb_cell_renderer_visibility_render
This looks to be left over from development of the widget, and should
be safe to remove.
:100644 100644 5824adb... 9e8593c... M src/hid/gtk/gtk-pcb-cell-renderer-visibility.c
=========
Changes
=========
commit 6bc04df573b6ac3f71554bdbaf6175da63add1d5
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
hid/gtk: Remove unused state variable in gtk_pcb_cell_renderer_visibility_render
This looks to be left over from development of the widget, and should
be safe to remove.
diff --git a/src/hid/gtk/gtk-pcb-cell-renderer-visibility.c b/src/hid/gtk/gtk-pcb-cell-renderer-visibility.c
index 5824adb..9e8593c 100644
--- a/src/hid/gtk/gtk-pcb-cell-renderer-visibility.c
+++ b/src/hid/gtk/gtk-pcb-cell-renderer-visibility.c
@@ -90,7 +90,6 @@ gtk_pcb_cell_renderer_visibility_render (GtkCellRenderer *cell,
GtkPcbCellRendererVisibility *pcb_cell;
GdkRectangle toggle_rect;
GdkRectangle draw_rect;
- GtkStateType state;
pcb_cell = GTK_PCB_CELL_RENDERER_VISIBILITY (cell);
gtk_pcb_cell_renderer_visibility_get_size (cell, widget, cell_area,
@@ -107,16 +106,6 @@ gtk_pcb_cell_renderer_visibility_render (GtkCellRenderer *cell,
if (toggle_rect.width <= 0 || toggle_rect.height <= 0)
return;
- if ((flags & GTK_CELL_RENDERER_SELECTED) == GTK_CELL_RENDERER_SELECTED)
- {
- if (GTK_WIDGET_HAS_FOCUS (widget))
- state = GTK_STATE_SELECTED;
- else
- state = GTK_STATE_ACTIVE;
- }
- else
- state = GTK_STATE_NORMAL;
-
if (gdk_rectangle_intersect (expose_area, cell_area, &draw_rect))
{
GdkColor color;
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs