[gimp] plug-ins: remove unused variable.



commit b834fdb64ae5bc475bae9e0848b9035d012032e4
Author: Jehan <jehan girinstud io>
Date:   Thu Sep 19 13:34:11 2019 +0200

    plug-ins: remove unused variable.
    
    Fix:
    > ifs-compose.c:1501:20: warning: unused variable ‘style’ [-Wunused-variable]
    
    Unused since commit b347cc73a1b3e6db066d27670d79dd4ab658016f.

 plug-ins/ifs-compose/ifs-compose.c | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/plug-ins/ifs-compose/ifs-compose.c b/plug-ins/ifs-compose/ifs-compose.c
index 0cb9b0dcab..7a299a6f20 100644
--- a/plug-ins/ifs-compose/ifs-compose.c
+++ b/plug-ins/ifs-compose/ifs-compose.c
@@ -1498,14 +1498,13 @@ static gboolean
 design_area_draw (GtkWidget *widget,
                   cairo_t   *cr)
 {
-  GtkStyleContext *style = gtk_widget_get_style_context (widget);
-  cairo_t         *design_cr;
-  GtkAllocation    allocation;
-  PangoLayout     *layout;
-  GdkRGBA          black = { 0.0, 0.0, 0.0, 1.0 };
-  GdkRGBA          white = { 1.0, 1.0, 1.0, 1.0 };
-  gint             i;
-  gint             cx, cy;
+  cairo_t       *design_cr;
+  GtkAllocation  allocation;
+  PangoLayout   *layout;
+  GdkRGBA        black = { 0.0, 0.0, 0.0, 1.0 };
+  GdkRGBA        white = { 1.0, 1.0, 1.0, 1.0 };
+  gint           i;
+  gint           cx, cy;
 
   gtk_widget_get_allocation (widget, &allocation);
 


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