summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-loading-message.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/shell/ev-loading-message.c b/shell/ev-loading-message.c
index b09d3479..aa7014e5 100644
--- a/shell/ev-loading-message.c
+++ b/shell/ev-loading-message.c
@@ -39,9 +39,7 @@ G_DEFINE_TYPE (EvLoadingMessage, ev_loading_message, GTK_TYPE_BOX)
static void
ev_loading_message_init (EvLoadingMessage *message)
{
- GtkWidget *widget = GTK_WIDGET (message);
- GtkWidget *label;
- GtkStyleContext *context;
+ GtkWidget *label;
gtk_container_set_border_width (GTK_CONTAINER (message), 10);
@@ -70,7 +68,6 @@ static void
ev_loading_message_size_allocate (GtkWidget *widget,
GtkAllocation *allocation)
{
- EvLoadingMessage *message = EV_LOADING_MESSAGE (widget);
GtkAllocation child_allocation;
GtkBorder padding;