diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-12-24 06:32:07 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-12-24 06:32:07 +0000 |
commit | a9d25d6235651d3c64741a979c4241f2f10763ba (patch) | |
tree | 75baac25dc402b933e11f0dd61adef66be02bee9 /gtk/gtkbutton.c | |
parent | 650fd1fd27572616699934f01d3cea8b90e94f12 (diff) | |
download | gtk+-a9d25d6235651d3c64741a979c4241f2f10763ba.tar.gz |
When shift-clicking, keep the larger part of the selection selected.
2006-12-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.c (gtk_entry_button_press): When
shift-clicking, keep the larger part of the selection
selected. (#353709, Benjamin Otte)
* gtk/gtkbutton.c (gtk_button_get_props): Use
gtk_border_free when freeing borders.
Diffstat (limited to 'gtk/gtkbutton.c')
-rw-r--r-- | gtk/gtkbutton.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c index 002241ce10..2b0ad37c00 100644 --- a/gtk/gtkbutton.c +++ b/gtk/gtkbutton.c @@ -1057,7 +1057,7 @@ gtk_button_get_props (GtkButton *button, if (tmp_border) { *default_border = *tmp_border; - g_free (tmp_border); + gtk_border_free (tmp_border); } else *default_border = default_default_border; @@ -1070,7 +1070,7 @@ gtk_button_get_props (GtkButton *button, if (tmp_border) { *default_outside_border = *tmp_border; - g_free (tmp_border); + gtk_border_free (tmp_border); } else *default_outside_border = default_default_outside_border; @@ -1083,7 +1083,7 @@ gtk_button_get_props (GtkButton *button, if (tmp_border) { *inner_border = *tmp_border; - g_free (tmp_border); + gtk_border_free (tmp_border); } else *inner_border = default_inner_border; |