terminal-screen.c: drop unused variables

master-1.22
Pablo Barciela 2017-12-28 02:20:16 +01:00 committed by raveit65
parent e370b85599
commit a2314e9ab7
1 changed files with 0 additions and 4 deletions

View File

@ -682,7 +682,6 @@ terminal_screen_image_draw_cb (GtkWidget *widget, cairo_t *cr, void *userdata)
TerminalScreen *screen = TERMINAL_SCREEN (widget);
TerminalScreenPrivate *priv = screen->priv;
GdkPixbuf *bg_image = priv->bg_image;
gint bgw, bgh;
GdkRectangle target_rect;
GtkAllocation alloc;
cairo_surface_t *child_surface;
@ -705,9 +704,6 @@ terminal_screen_image_draw_cb (GtkWidget *widget, cairo_t *cr, void *userdata)
gtk_widget_draw (widget, child_cr);
g_signal_handler_unblock (screen, priv->bg_image_callback_id);
bgw = gdk_pixbuf_get_width (bg_image);
bgh = gdk_pixbuf_get_height (bg_image);
gdk_cairo_set_source_pixbuf (cr, bg_image, 0, 0);
cairo_pattern_set_extend (cairo_get_source (cr), CAIRO_EXTEND_REPEAT);