forked from AuroraMiddleware/gtk
Fix off-by-one error. (Pointed out by Anders Carlsson)
Sun Feb 24 21:18:20 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtksocket.c (gtk_socket_end_embedding): Fix off-by-one error. (Pointed out by Anders Carlsson)
This commit is contained in:
parent
4beaa9e4a6
commit
8ae6ab42b6
@ -1,3 +1,8 @@
|
||||
Sun Feb 24 21:18:20 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_end_embedding): Fix
|
||||
off-by-one error. (Pointed out by Anders Carlsson)
|
||||
|
||||
2002-02-25 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml, docs/tutorial/images/*, examples/*: More
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Feb 24 21:18:20 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_end_embedding): Fix
|
||||
off-by-one error. (Pointed out by Anders Carlsson)
|
||||
|
||||
2002-02-25 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml, docs/tutorial/images/*, examples/*: More
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Feb 24 21:18:20 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_end_embedding): Fix
|
||||
off-by-one error. (Pointed out by Anders Carlsson)
|
||||
|
||||
2002-02-25 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml, docs/tutorial/images/*, examples/*: More
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Feb 24 21:18:20 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_end_embedding): Fix
|
||||
off-by-one error. (Pointed out by Anders Carlsson)
|
||||
|
||||
2002-02-25 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml, docs/tutorial/images/*, examples/*: More
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Feb 24 21:18:20 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_end_embedding): Fix
|
||||
off-by-one error. (Pointed out by Anders Carlsson)
|
||||
|
||||
2002-02-25 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml, docs/tutorial/images/*, examples/*: More
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Feb 24 21:18:20 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_end_embedding): Fix
|
||||
off-by-one error. (Pointed out by Anders Carlsson)
|
||||
|
||||
2002-02-25 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml, docs/tutorial/images/*, examples/*: More
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Feb 24 21:18:20 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_end_embedding): Fix
|
||||
off-by-one error. (Pointed out by Anders Carlsson)
|
||||
|
||||
2002-02-25 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml, docs/tutorial/images/*, examples/*: More
|
||||
|
@ -368,8 +368,8 @@ gtk_socket_end_embedding (GtkSocket *socket)
|
||||
g_object_unref (socket->plug_window);
|
||||
socket->plug_window = NULL;
|
||||
|
||||
/* Remove from end to avoid indexes shiting. This is evil */
|
||||
for (i = socket->accel_group->n_accels; i >= 0; i--)
|
||||
/* Remove from end to avoid indexes shifting. This is evil */
|
||||
for (i = socket->accel_group->n_accels - 1; i >= 0; i--)
|
||||
{
|
||||
GtkAccelGroupEntry *accel_entry = &socket->accel_group->priv_accels[i];
|
||||
gtk_accel_group_disconnect (socket->accel_group, accel_entry->closure);
|
||||
|
Loading…
Reference in New Issue
Block a user