• Havoc Pennington's avatar
    Free the filename of the module file. · 15e0004b
    Havoc Pennington authored
    2000-11-13  Havoc Pennington  <hp@redhat.com>
    
    	* gtk/gtkimmodule.c (gtk_im_module_init): Free the filename of
    	the module file.
    
    	* gtk/gtktexttag.c (gtk_text_attributes_copy): fix memory leak of
    	dest->language
    
    	* gtk/testtext.c: Test pixels above/below/inside paragraphs
    	settings
    
    	* gtk/gtktextview.c: Implement object args and setters/getters for
    	all the aspects of the GtkTextAttributes that are not set from
    	GtkWidget attributes. This is spacing, justification, margins,
    	etc.
    
    	(gtk_text_view_set_arg)
    	(gtk_text_view_get_arg): implement get/set for editable, wrap mode
    	args
    	(gtk_text_view_class_init): Add args for justify, left_margin,
    	right_margin, indent, and tabs
    
    
    	* gtk/gtktextlayout.c (set_para_values): fix to display indent
    	attribute properly
    
    	* gtk/gtktexttag.c: Remove left_wrapped_line_margin attribute,
    	replace with indent attribute
    
    	* gtk/gtktextlayout.c (set_para_values): multiply indent by
    	PANGO_SCALE
    
    	* gtk/gtktextdisplay.c (render_para): Use PangoLayoutIter,
    	rearranging code to do that
    	(gtk_text_layout_draw): Pass in the y for the whole LineDisplay,
    	i.e. don't subtract the top_margin first, just to keep
    	all margin-futzing in one place.
    
    	* gdk/gdkpango.c (gdk_draw_layout): Use PangoLayoutIter
    
    	* gtk/gtktextlayout.c (gtk_text_layout_get_iter_location): Remove
    	special case of last line, Pango now handles this itself.
    	(gtk_text_layout_get_iter_at_pixel): Fix incorrect clamp of the
    	Y coordinate
    	(gtk_text_layout_move_iter_to_x): port to use PangoLayoutIter
    	(find_display_line_above): wasn't moving the byte index as it
    	iterated over lines, so always returned byte 0. Also, port to use
    	PangoLayoutIter.
    	(find_display_line_below): same problem as
    	find_display_line_above. Also, port to use PangoLayoutIter.
    15e0004b
Name
Last commit
Last update
..
linux-fb Loading commit data...
nanox Loading commit data...
win32 Loading commit data...
x11 Loading commit data...
.cvsignore Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
TODO Loading commit data...
gdk.c Loading commit data...
gdk.def Loading commit data...
gdk.h Loading commit data...
gdkcc.h Loading commit data...
gdkcolor.c Loading commit data...
gdkcolor.h Loading commit data...
gdkcompat.h Loading commit data...
gdkconfig.h.win32 Loading commit data...
gdkcursor.c Loading commit data...
gdkcursor.h Loading commit data...
gdkcursors.h Loading commit data...
gdkdnd.h Loading commit data...
gdkdraw.c Loading commit data...
gdkdrawable.h Loading commit data...
gdkevents.c Loading commit data...
gdkevents.h Loading commit data...
gdkfont.c Loading commit data...
gdkfont.h Loading commit data...
gdkgc.c Loading commit data...
gdkgc.h Loading commit data...
gdkglobals.c Loading commit data...
gdki18n.h Loading commit data...
gdkim.h Loading commit data...
gdkimage.c Loading commit data...
gdkimage.h Loading commit data...
gdkinput.h Loading commit data...
gdkinternals.h Loading commit data...
gdkkeysyms.h Loading commit data...
gdkkeyuni.c Loading commit data...
gdkpango.c Loading commit data...
gdkpango.h Loading commit data...
gdkpixbuf-drawable.c Loading commit data...
gdkpixbuf-render.c Loading commit data...
gdkpixbuf.h Loading commit data...
gdkpixmap.c Loading commit data...
gdkpixmap.h Loading commit data...
gdkpoly-generic.h Loading commit data...
gdkpolyreg-generic.c Loading commit data...
gdkprivate.h Loading commit data...
gdkproperty.h Loading commit data...
gdkrectangle.c Loading commit data...
gdkregion-generic.c Loading commit data...
gdkregion-generic.h Loading commit data...
gdkregion.h Loading commit data...
gdkrgb.c Loading commit data...
gdkrgb.h Loading commit data...
gdkselection.h Loading commit data...
gdktypes.h Loading commit data...
gdkvisual.h Loading commit data...
gdkwindow.c Loading commit data...
gdkwindow.h Loading commit data...
makefile.mingw.in Loading commit data...
makefile.msc Loading commit data...
testgdk.c Loading commit data...