Commit 1b1b2e82 authored by Jonathan Blandford's avatar Jonathan Blandford Committed by Jonathan Blandford

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)
parent d5b5427c
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
......
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
......
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
......
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
......
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
......
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
......
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
......
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment