comparison finch/libgnt/gntwidget.c @ 21161:e119edfc0fb0

applied changes from 172a59b41412c4630834d66f2e7ec3be970cc36b through 365b126365cc18309aea7f8eef0e9b2a19e6bda8 And others.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 07 Nov 2007 14:07:52 +0000
parents 44b4e8bd759b
children 6de09629f091
comparison
equal deleted inserted replaced
21160:45e550db32ab 21161:e119edfc0fb0
615 { 615 {
616 if (widget->window == NULL) 616 if (widget->window == NULL)
617 return; 617 return;
618 while (widget->parent) 618 while (widget->parent)
619 widget = widget->parent; 619 widget = widget->parent;
620 620
621 if (!g_object_get_data(G_OBJECT(widget), "gnt:queue_update")) 621 if (!g_object_get_data(G_OBJECT(widget), "gnt:queue_update"))
622 { 622 {
623 int id = g_timeout_add(0, update_queue_callback, widget); 623 int id = g_timeout_add(0, update_queue_callback, widget);
624 g_object_set_data_full(G_OBJECT(widget), "gnt:queue_update", GINT_TO_POINTER(id), 624 g_object_set_data_full(G_OBJECT(widget), "gnt:queue_update", GINT_TO_POINTER(id),
625 (GDestroyNotify)g_source_remove); 625 (GDestroyNotify)g_source_remove);