[gimp] app: Remove unused variables and dead code



commit ed630a18524ba9037a4d69a8758fb3951345b1ac
Author: Martin Nordholts <martinn src gnome org>
Date:   Thu Jun 24 19:00:23 2010 +0200

    app: Remove unused variables and dead code

 app/widgets/gimpcontainericonview.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/app/widgets/gimpcontainericonview.c b/app/widgets/gimpcontainericonview.c
index b4b5c38..3b02f38 100644
--- a/app/widgets/gimpcontainericonview.c
+++ b/app/widgets/gimpcontainericonview.c
@@ -670,16 +670,9 @@ gimp_container_icon_view_drag_viewable (GtkWidget    *widget,
                                         GimpContext **context,
                                         gpointer      data)
 {
-  GimpContainerIconView *icon_view = GIMP_CONTAINER_ICON_VIEW (data);
-
   if (context)
     *context = gimp_container_view_get_context (GIMP_CONTAINER_VIEW (data));
 
-#if 0
-  if (icon_view->priv->dnd_renderer)
-    return icon_view->priv->dnd_renderer->viewable;
-#endif
-
   return NULL;
 }
 
@@ -687,7 +680,6 @@ static GdkPixbuf *
 gimp_container_icon_view_drag_pixbuf (GtkWidget *widget,
                                       gpointer   data)
 {
-  GimpContainerIconView *icon_view = GIMP_CONTAINER_ICON_VIEW (data);
   GimpViewRenderer      *renderer  = NULL; //icon_view->priv->dnd_renderer;
   gint                   width;
   gint                   height;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]