mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 05:01:09 +00:00
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:
parent
d5b5427c06
commit
1b1b2e8264
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user