summaryrefslogtreecommitdiff
path: root/typing-break
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-13 15:29:00 +0300
committermonsta <[email protected]>2016-01-13 15:29:00 +0300
commitc640230c14b4c414124291429b7512fbe7ac89df (patch)
tree61b8af4356d4ef8d14347dc691ef429f67821547 /typing-break
parent64bb26efc14c1ae6c5bc2f7a31f04e341eef27ab (diff)
downloadmate-control-center-c640230c14b4c414124291429b7512fbe7ac89df.tar.bz2
mate-control-center-c640230c14b4c414124291429b7512fbe7ac89df.tar.xz
typing-break: remove unused variable
Diffstat (limited to 'typing-break')
-rw-r--r--typing-break/drw-break-window.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/typing-break/drw-break-window.c b/typing-break/drw-break-window.c
index c68988fd..4ddbef52 100644
--- a/typing-break/drw-break-window.c
+++ b/typing-break/drw-break-window.c
@@ -601,18 +601,11 @@ label_expose_event_cb (GtkLabel *label,
gpointer user_data)
{
gint x, y;
- GdkColor color;
GtkWidget *widget;
GdkWindow *window;
#if !GTK_CHECK_VERSION (3, 0, 0)
cairo_t *cr;
#endif
-
- color.red = 0;
- color.green = 0;
- color.blue = 0;
- color.pixel = 0;
-
get_layout_location (label, &x, &y);
widget = GTK_WIDGET (label);
@@ -628,9 +621,6 @@ label_expose_event_cb (GtkLabel *label,
cairo_set_source_rgb (cr, 0, 0, 0);
- /* Can't use pango_cairo_show_layout() here as we need to override
- * the layout's colors with our shadow color.
- */
cairo_move_to (cr, x + 1, y + 1);
pango_cairo_layout_path (cr, gtk_label_get_layout (label));
cairo_fill (cr);