diff --git a/src/board.c b/src/board.c
index 78efc04..a451dfa 100644
--- a/src/board.c
+++ b/src/board.c
@@ -322,7 +322,7 @@ void board_destroy ()
   if (level_items)
     {
       if (level_items->level)
-	gtk_object_destroy (GTK_OBJECT (level_items->level));
+	gtk_widget_destroy (GTK_WIDGET (level_items->level));
 
       g_free (level_items);
     }
@@ -410,7 +410,7 @@ static void render_tile (Tile *tile, gint row, gint col)
   GnomeCanvasGroup *group;
   TileType type;
   gdouble x, y;
-
+	
   type = tile_get_tile_type (tile);
   switch (type)
     {
@@ -506,7 +506,7 @@ gboolean board_undo_move ()
 
 void board_clear ()
 {
-  g_slist_foreach (board_canvas_items, (GFunc) gtk_object_destroy, NULL);
+  g_slist_foreach (board_canvas_items, (GFunc) gtk_widget_destroy, NULL);
   g_slist_free (board_canvas_items);
   board_canvas_items = NULL;
 
diff --git a/src/clock.c b/src/clock.c
index a40dcfe..2039d56 100644
--- a/src/clock.c
+++ b/src/clock.c
@@ -52,19 +52,19 @@ GType clock_get_type (void)
   return object_type;
 }
 
-static void clock_destroy (GtkObject *object)
+static void clock_destroy (GtkWidget *widget)
 {
-  g_return_if_fail (object != NULL);
+  g_return_if_fail (widget != NULL);
 
-  clock_stop (CLOCK (object));
-  GTK_OBJECT_CLASS (parent_class)->destroy (object);
+  clock_stop (CLOCK (widget));
+  GTK_WIDGET_CLASS (parent_class)->destroy (widget);
 }
 
 static void clock_class_init (ClockClass *klass)
 {
-  GtkObjectClass *object_class = (GtkObjectClass *) klass;
+  GtkWidgetClass *widget_class = (GtkWidgetClass *) klass;
 
-  object_class->destroy = clock_destroy;
+  widget_class->destroy = clock_destroy;
   parent_class = g_type_class_peek (gtk_label_get_type ());
 }
 
diff --git a/src/games-gtk-compat.h b/src/games-gtk-compat.h
index 4a2a022..d1a6cef 100644
--- a/src/games-gtk-compat.h
+++ b/src/games-gtk-compat.h
@@ -23,8 +23,8 @@ G_BEGIN_DECLS
 
 #ifdef GSEAL_ENABLE
 /* Temporary fix from http://live.gnome.org/GnomeGoals/UseGseal */
-#undef GTK_OBJECT_FLAGS
-#define GTK_OBJECT_FLAGS(i) (GTK_OBJECT (i)->GSEAL(flags))
+#undef GTK_WIDGET_FLAGS
+#define GTK_WIDGET_FLAGS(i) (GTK_WIDGET (i)->GSEAL(flags))
 #endif /* GSEAL_ENABLE */
 
 #if !GTK_CHECK_VERSION (2, 18, 0)
diff --git a/src/goal-view.c b/src/goal-view.c
index 4c25d51..8f64b50 100644
--- a/src/goal-view.c
+++ b/src/goal-view.c
@@ -113,7 +113,7 @@ static void render_view (Goal *goal)
 void goal_view_clear (void)
 {
   if (item_group)
-    gtk_object_destroy (GTK_OBJECT (item_group));
+    gtk_widget_destroy (GTK_WIDGET (item_group));
   item_group = NULL;
 }
 
