remove extraneous gtk_label_clear_layout (label)

Fri Nov  2 11:51:49 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtklabel.c (gtk_label_select_region_index): remove
	extraneous gtk_label_clear_layout (label)
This commit is contained in:
Jonathan Blandford 2001-11-02 17:18:01 +00:00 committed by Jonathan Blandford
parent d5b5427c06
commit 1b1b2e8264
8 changed files with 39 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Fri Nov 2 11:51:49 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtklabel.c (gtk_label_select_region_index): remove
extraneous gtk_label_clear_layout (label)
2001-11-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* tests/makefile.msc, gtk/makefile.msc.in: Removed

View File

@ -1,3 +1,8 @@
Fri Nov 2 11:51:49 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtklabel.c (gtk_label_select_region_index): remove
extraneous gtk_label_clear_layout (label)
2001-11-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* tests/makefile.msc, gtk/makefile.msc.in: Removed

View File

@ -1,3 +1,8 @@
Fri Nov 2 11:51:49 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtklabel.c (gtk_label_select_region_index): remove
extraneous gtk_label_clear_layout (label)
2001-11-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* tests/makefile.msc, gtk/makefile.msc.in: Removed

View File

@ -1,3 +1,8 @@
Fri Nov 2 11:51:49 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtklabel.c (gtk_label_select_region_index): remove
extraneous gtk_label_clear_layout (label)
2001-11-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* tests/makefile.msc, gtk/makefile.msc.in: Removed

View File

@ -1,3 +1,8 @@
Fri Nov 2 11:51:49 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtklabel.c (gtk_label_select_region_index): remove
extraneous gtk_label_clear_layout (label)
2001-11-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* tests/makefile.msc, gtk/makefile.msc.in: Removed

View File

@ -1,3 +1,8 @@
Fri Nov 2 11:51:49 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtklabel.c (gtk_label_select_region_index): remove
extraneous gtk_label_clear_layout (label)
2001-11-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* tests/makefile.msc, gtk/makefile.msc.in: Removed

View File

@ -1,3 +1,8 @@
Fri Nov 2 11:51:49 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtklabel.c (gtk_label_select_region_index): remove
extraneous gtk_label_clear_layout (label)
2001-11-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* tests/makefile.msc, gtk/makefile.msc.in: Removed

View File

@ -2447,7 +2447,6 @@ clear_text_callback (GtkClipboard *clipboard,
{
label->select_info->selection_anchor = label->select_info->selection_end;
gtk_label_clear_layout (label);
gtk_widget_queue_draw (GTK_WIDGET (label));
}
}
@ -2470,6 +2469,10 @@ gtk_label_select_region_index (GtkLabel *label,
{
GtkClipboard *clipboard;
if (label->select_info->selection_anchor == anchor_index &&
label->select_info->selection_end == end_index)
return;
label->select_info->selection_anchor = anchor_index;
label->select_info->selection_end = end_index;
@ -2490,7 +2493,6 @@ gtk_label_select_region_index (GtkLabel *label,
gtk_clipboard_clear (clipboard);
}
gtk_label_clear_layout (label);
gtk_widget_queue_draw (GTK_WIDGET (label));
g_object_freeze_notify (G_OBJECT (label));