summaryrefslogtreecommitdiff
path: root/eel
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-03-05 02:14:49 +0100
committerZenWalker <[email protected]>2019-03-07 00:00:20 +0100
commitfc9a637006bab37dbb73c678983032111831a623 (patch)
treecd6e7ccb63135b737b244a89f0589603e3aecf1c /eel
parentee16c212d5ce11f6d782f86bb62302356b163462 (diff)
downloadcaja-fc9a637006bab37dbb73c678983032111831a623.tar.bz2
caja-fc9a637006bab37dbb73c678983032111831a623.tar.xz
avoid variables set but not used
Diffstat (limited to 'eel')
-rw-r--r--eel/eel-image-table.c4
-rw-r--r--eel/eel-labeled-image.c2
2 files changed, 0 insertions, 6 deletions
diff --git a/eel/eel-image-table.c b/eel/eel-image-table.c
index d3ac54e7..03de077b 100644
--- a/eel/eel-image-table.c
+++ b/eel/eel-image-table.c
@@ -99,10 +99,6 @@ eel_image_table_init (EelImageTable *image_table)
static void
eel_image_table_finalize (GObject *object)
{
- EelImageTable *image_table;
-
- image_table = EEL_IMAGE_TABLE (object);
-
G_OBJECT_CLASS (eel_image_table_parent_class)->finalize (object);
}
diff --git a/eel/eel-labeled-image.c b/eel/eel-labeled-image.c
index 04afe258..0cf10cc0 100644
--- a/eel/eel-labeled-image.c
+++ b/eel/eel-labeled-image.c
@@ -363,7 +363,6 @@ eel_labeled_image_draw (GtkWidget *widget,
EelLabeledImage *labeled_image;
EelIRect label_bounds;
GtkStyleContext *context;
- GdkWindow *window;
g_assert (EEL_IS_LABELED_IMAGE (widget));
g_assert (gtk_widget_get_realized (widget));
@@ -373,7 +372,6 @@ eel_labeled_image_draw (GtkWidget *widget,
context = gtk_widget_get_style_context (widget);
gtk_style_context_save (context);
- window = gtk_widget_get_window (widget);
if (gtk_widget_get_state_flags (widget) == GTK_STATE_FLAG_SELECTED ||
gtk_widget_get_state_flags (widget) == GTK_STATE_FLAG_ACTIVE)
{