$NetBSD: patch-ad,v 1.1 2005/03/10 14:17:16 tv Exp $

--- gtkextra/gtkdirtree.c.orig	Fri Nov 30 10:12:16 2001
+++ gtkextra/gtkdirtree.c
@@ -259,8 +259,7 @@ gtk_dir_tree_init (GtkDirTree *dir_tree)
 
   /* Get the local hostname. */
 #ifndef G_OS_WIN32
-  if ((gethostname (localhost, MAXHOSTNAMELEN) != 0) &&
-      (getdomainname (localhost, MAXHOSTNAMELEN) != 0))
+  if (gethostname (localhost, MAXHOSTNAMELEN) != 0)
     strcpy (localhost, "LocalHost");
 #else
     strcpy (localhost, "My PC");
