[totem] screenshot: Remove unused variable
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] screenshot: Remove unused variable
- Date: Thu, 30 Jun 2011 13:46:46 +0000 (UTC)
commit 49a8afb2fb54df122c824a932d0f5d8fca05de49
Author: Bastien Nocera <hadess hadess net>
Date: Thu Jun 30 14:45:39 2011 +0100
screenshot: Remove unused variable
src/plugins/screenshot/gnome-screenshot-widget.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/screenshot/gnome-screenshot-widget.c b/src/plugins/screenshot/gnome-screenshot-widget.c
index ebd7fcf..43b93bc 100644
--- a/src/plugins/screenshot/gnome-screenshot-widget.c
+++ b/src/plugins/screenshot/gnome-screenshot-widget.c
@@ -265,7 +265,6 @@ void
on_preview_expose_event (GtkWidget *drawing_area, GdkEventExpose *event, GnomeScreenshotWidget *self)
{
GdkPixbuf *pixbuf = NULL;
- gboolean free_pixbuf = FALSE;
GtkStyleContext *context;
cairo_t *cr;
@@ -282,7 +281,6 @@ on_preview_expose_event (GtkWidget *drawing_area, GdkEventExpose *event, GnomeSc
gtk_icon_source_set_size_wildcarded (source, FALSE);
pixbuf = gtk_render_icon_pixbuf (context, source, (GtkIconSize) -1);
- free_pixbuf = TRUE;
gtk_icon_source_free (source);
} else {
pixbuf = g_object_ref (self->priv->preview_image);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]