2009-02-27 Alberto Garcia <agarcia@igalia.com>
[hildon] / src / hildon-bread-crumb-trail.c
index 1ab736d..5ed23e0 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 2007 Nokia Corporation, all rights reserved.
  *
- * Contact: Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
+ * Contact: Rodrigo Novo <rodrigo.novo@nokia.com>
  * Author: Xan Lopez <xan.lopez@nokia.com>
  *
  * This library is free software; you can redistribute it and/or
@@ -37,6 +37,8 @@
  * implemented if needed. See #HildonBreadCrumb for more details.
  */
 
+#undef HILDON_DISABLE_DEPRECATED
+
 #include <gdk/gdkkeysyms.h>
 
 #include "hildon-marshalers.h"
@@ -394,8 +396,6 @@ hildon_bread_crumb_trail_size_allocate (GtkWidget *widget,
   for (p = first_hide; p; p = p->next)
     {
       item = HILDON_BREAD_CRUMB (p->data);
-      child = GTK_WIDGET (item);
-
       gtk_widget_set_child_visible (GTK_WIDGET (item), FALSE);
     }
 }