summaryrefslogtreecommitdiff
path: root/src/terminal-screen.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2017-12-28 02:20:16 +0100
committerraveit65 <[email protected]>2017-12-30 14:32:35 +0100
commita2314e9ab78fac6697094199d82531ee3347b5b6 (patch)
treedb6d0dc7ddb8471cb4c4bce077625912ff0fbd86 /src/terminal-screen.c
parente370b85599468cc3fd632f5a01adc3a162d54d5a (diff)
downloadmate-terminal-a2314e9ab78fac6697094199d82531ee3347b5b6.tar.bz2
mate-terminal-a2314e9ab78fac6697094199d82531ee3347b5b6.tar.xz
terminal-screen.c: drop unused variables
Diffstat (limited to 'src/terminal-screen.c')
-rw-r--r--src/terminal-screen.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
index 3d741da..bbdbf6e 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -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);