Make it work for logical == 0.

Thu Oct 30 17:40:26 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktoolbar.c (logical_to_physical): Make it work for
	logical == 0.
This commit is contained in:
Soeren Sandmann 2003-10-30 16:50:11 +00:00 committed by Søren Sandmann Pedersen
parent 83d5006ee4
commit 342646018d
6 changed files with 26 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Thu Oct 30 17:40:26 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (logical_to_physical): Make it work for
logical == 0.
Thu Oct 30 16:20:58 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (logical_to_physical): Make sure we actually

View File

@ -1,3 +1,8 @@
Thu Oct 30 17:40:26 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (logical_to_physical): Make it work for
logical == 0.
Thu Oct 30 16:20:58 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (logical_to_physical): Make sure we actually

View File

@ -1,3 +1,8 @@
Thu Oct 30 17:40:26 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (logical_to_physical): Make it work for
logical == 0.
Thu Oct 30 16:20:58 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (logical_to_physical): Make sure we actually

View File

@ -1,3 +1,8 @@
Thu Oct 30 17:40:26 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (logical_to_physical): Make it work for
logical == 0.
Thu Oct 30 16:20:58 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (logical_to_physical): Make sure we actually

View File

@ -1,3 +1,8 @@
Thu Oct 30 17:40:26 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (logical_to_physical): Make it work for
logical == 0.
Thu Oct 30 16:20:58 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (logical_to_physical): Make sure we actually

View File

@ -1797,7 +1797,7 @@ logical_to_physical (GtkToolbar *toolbar, gint logical)
g_assert (logical >= 0);
physical = 0;
for (list = priv->content; list; list = list->next)
for (list = priv->content; list && logical > 0; list = list->next)
{
ToolbarContent *content = list->data;