Commit dfc29dba authored by Li Yuan's avatar Li Yuan Committed by Li Yuan

Bug #561631. Use g_queue_get_length to determine if a queue is empty.

2009-02-17  Li Yuan  <li.yuan@sun.com>

        * gailbutton.c: (idle_do_action):
        Bug #561631. Use g_queue_get_length to determine if a queue is empty.

svn path=/trunk/; revision=22348
parent 9a5e06ce
2009-02-17 Li Yuan <li.yuan@sun.com>
* gailbutton.c: (idle_do_action):
Bug #561631. Use g_queue_get_length to determine if a queue is empty.
2009-02-04 Tor Lillqvist <tml@novell.com>
Bug 570406 - gailutil.def is in srcdir, but used from builddir
......
......@@ -511,7 +511,7 @@ idle_do_action (gpointer data)
gtk_widget_event (widget, &tmp_event);
button = GTK_BUTTON (widget);
while (!g_queue_is_empty (gail_button->action_queue))
while (g_queue_get_length(gail_button->action_queue) != 0)
{
gint action_number = (gint) g_queue_pop_head (gail_button->action_queue);
if (gail_button->default_is_press)
......
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