libgnomeui build patch



Hey,

I needed this patch to make libgnomeui build properly. I guess I must
have HAVE_ESD not defined somewhere... Is it right, can I commit?

iain
-- 
"Everybody thinks of changing humanity and nobody thinks of changing
himself"
	- Leo Tolstoy.
Index: gnome-ui-init.c
===================================================================
RCS file: /cvs/gnome/libgnomeui/libgnomeui/gnome-ui-init.c,v
retrieving revision 1.175
diff -U2 -r1.175 gnome-ui-init.c
--- gnome-ui-init.c	2002/02/20 08:48:58	1.175
+++ gnome-ui-init.c	2002/03/05 02:20:12
@@ -282,4 +282,5 @@
 }
 
+#ifdef HAVE_ESD
 static gboolean
 relay_gtk_signal(GSignalInvocationHint *hint,
@@ -288,5 +289,4 @@
 		 gchar *signame)
 {
-#ifdef HAVE_ESD
   char *pieces[3] = {"gtk-events", NULL, NULL};
   static GQuark disable_sound_quark = 0;
@@ -312,8 +312,6 @@
 
   return TRUE;
-#else
-  return FALSE; /* this shouldn't even happen... */
-#endif
 }
+#endif
 
 static void


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