Kaydet (Commit) 1abbba1d authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1302608 gtk3 Logically dead code

Change-Id: I7e727bc71a5fb02d89eb6b4fb35cda26bcfa617a
üst 0b25823e
...@@ -87,11 +87,10 @@ enum { ...@@ -87,11 +87,10 @@ enum {
RENDER_SCROLLBAR = 9, RENDER_SCROLLBAR = 9,
RENDER_SPINBUTTON = 10, RENDER_SPINBUTTON = 10,
RENDER_COMBOBOX = 11, RENDER_COMBOBOX = 11,
RENDER_EXTENSION = 12, RENDER_EXPANDER = 12,
RENDER_EXPANDER = 13, RENDER_ICON = 13,
RENDER_ICON = 14, RENDER_PROGRESS = 14,
RENDER_PROGRESS = 15, RENDER_FOCUS = 15,
RENDER_FOCUS = 16,
}; };
static void NWCalcArrowRect( const Rectangle& rButton, Rectangle& rArrow ) static void NWCalcArrowRect( const Rectangle& rButton, Rectangle& rArrow )
...@@ -1089,9 +1088,6 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co ...@@ -1089,9 +1088,6 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co
gtk_render_frame(context, cr, nX, nY, nWidth, nHeight); gtk_render_frame(context, cr, nX, nY, nWidth, nHeight);
} }
break; break;
case RENDER_EXTENSION:
gtk_render_extension(context, cr, nX, nY, nWidth, nHeight, GTK_POS_BOTTOM);
break;
case RENDER_CHECK: case RENDER_CHECK:
case RENDER_RADIO: case RENDER_RADIO:
PaintCheckOrRadio(context, cr, rControlRegion, nType); PaintCheckOrRadio(context, cr, rControlRegion, nType);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment