forked from AuroraMiddleware/gtk
Fix unitialized variable when moving back onto a single line.
Tue Jan 2 16:23:05 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_previous_line): Fix unitialized variable when moving back onto a single line.
This commit is contained in:
parent
a7aa33f14e
commit
80dae4f300
@ -1,3 +1,9 @@
|
||||
Tue Jan 2 16:23:05 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c
|
||||
(gtk_text_layout_move_iter_to_previous_line): Fix unitialized
|
||||
variable when moving back onto a single line.
|
||||
|
||||
2001-01-01 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@
|
||||
|
@ -1,3 +1,9 @@
|
||||
Tue Jan 2 16:23:05 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c
|
||||
(gtk_text_layout_move_iter_to_previous_line): Fix unitialized
|
||||
variable when moving back onto a single line.
|
||||
|
||||
2001-01-01 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@
|
||||
|
@ -1,3 +1,9 @@
|
||||
Tue Jan 2 16:23:05 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c
|
||||
(gtk_text_layout_move_iter_to_previous_line): Fix unitialized
|
||||
variable when moving back onto a single line.
|
||||
|
||||
2001-01-01 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@
|
||||
|
@ -1,3 +1,9 @@
|
||||
Tue Jan 2 16:23:05 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c
|
||||
(gtk_text_layout_move_iter_to_previous_line): Fix unitialized
|
||||
variable when moving back onto a single line.
|
||||
|
||||
2001-01-01 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@
|
||||
|
@ -1,3 +1,9 @@
|
||||
Tue Jan 2 16:23:05 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c
|
||||
(gtk_text_layout_move_iter_to_previous_line): Fix unitialized
|
||||
variable when moving back onto a single line.
|
||||
|
||||
2001-01-01 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@
|
||||
|
@ -1,3 +1,9 @@
|
||||
Tue Jan 2 16:23:05 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c
|
||||
(gtk_text_layout_move_iter_to_previous_line): Fix unitialized
|
||||
variable when moving back onto a single line.
|
||||
|
||||
2001-01-01 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@
|
||||
|
@ -1,3 +1,9 @@
|
||||
Tue Jan 2 16:23:05 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c
|
||||
(gtk_text_layout_move_iter_to_previous_line): Fix unitialized
|
||||
variable when moving back onto a single line.
|
||||
|
||||
2001-01-01 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@
|
||||
|
@ -2424,14 +2424,8 @@ gtk_text_layout_move_iter_to_previous_line (GtkTextLayout *layout,
|
||||
{
|
||||
gtk_text_layout_free_line_display (layout, display);
|
||||
display = gtk_text_layout_get_line_display (layout, prev_line, FALSE);
|
||||
|
||||
tmp_list = pango_layout_get_lines (display->layout);
|
||||
|
||||
while (tmp_list->next)
|
||||
{
|
||||
layout_line = tmp_list->data;
|
||||
tmp_list = tmp_list->next;
|
||||
}
|
||||
tmp_list = g_slist_last (pango_layout_get_lines (display->layout));
|
||||
layout_line = tmp_list->data;
|
||||
|
||||
line_display_index_to_iter (layout, display, iter,
|
||||
layout_line->start_index + layout_line->length, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user