diff src/glyphs-x.c @ 402:5a2589c672dc r21-2-31

Import from CVS: tag r21-2-31
author cvs
date Mon, 13 Aug 2007 11:14:58 +0200
parents a86b2b5e0111
children 2f8bb876ab1d
line wrap: on
line diff
--- a/src/glyphs-x.c	Mon Aug 13 11:14:35 2007 +0200
+++ b/src/glyphs-x.c	Mon Aug 13 11:14:58 2007 +0200
@@ -2494,7 +2494,7 @@
 
   IMAGE_INSTANCE_SUBWINDOW_ID (ii) = (void*)wid;
   IMAGE_INSTANCE_X_WIDGET_LWID (ii) = id;
-
+#if 0
   /* Resize the widget here so that the values do not get copied by
      lwlib. */
   ac = 0;
@@ -2503,6 +2503,7 @@
   XtSetArg (al [ac], XtNheight,
 	    (Dimension)IMAGE_INSTANCE_SUBWINDOW_HEIGHT (ii)); ac++;
   XtSetValues (IMAGE_INSTANCE_X_WIDGET_ID (ii), al, ac);
+#endif
   /* because the EmacsManager is the widgets parent we have to
      offset the redisplay of the widget by the amount the text
      widget is inside the manager. */