Remove unused auxvalues variable
authorJohn Darrington <john@darrington.wattle.id.au>
Fri, 28 Nov 2008 05:41:22 +0000 (14:41 +0900)
committerJohn Darrington <john@darrington.wattle.id.au>
Fri, 28 Nov 2008 05:41:22 +0000 (14:41 +0900)
lib/gtksheet/gtksheet.c

index ab64fe248d0602143109d1862503501e65543574..8e1e877aaf25511f6dc540b47b17476ebc8a7e70 100644 (file)
@@ -1719,7 +1719,7 @@ gtk_sheet_realize (GtkWidget *widget)
   const gint attributes_mask =
     GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP | GDK_WA_CURSOR;
 
-  GdkGCValues values, auxvalues;
+  GdkGCValues values;
   GdkColormap *colormap;
   GdkDisplay *display;
 
@@ -1816,8 +1816,6 @@ gtk_sheet_realize (GtkWidget *widget)
   sheet->fg_gc = gdk_gc_new (widget->window);
   sheet->bg_gc = gdk_gc_new (widget->window);
 
-  gdk_gc_get_values (sheet->fg_gc, &auxvalues);
-
   values.foreground = widget->style->white;
   values.function = GDK_INVERT;
   values.subwindow_mode = GDK_INCLUDE_INFERIORS;