Mercurial > dwindows
comparison gtk3/dw.c @ 875:e1afa43261d9
After thinking about it... probably need to get rid of the saved data to so we don't leak.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 06 Apr 2011 05:39:09 +0000 |
parents | 18eab415ff0c |
children | 13442724eb5d |
comparison
equal
deleted
inserted
replaced
874:18eab415ff0c | 875:e1afa43261d9 |
---|---|
10421 char tmpbuf[20]; | 10421 char tmpbuf[20]; |
10422 | 10422 |
10423 snprintf(tmpbuf, 20, "_dw_timer%d", id); | 10423 snprintf(tmpbuf, 20, "_dw_timer%d", id); |
10424 DW_MUTEX_LOCK; | 10424 DW_MUTEX_LOCK; |
10425 g_object_set_data(G_OBJECT(_DWObject), tmpbuf, NULL); | 10425 g_object_set_data(G_OBJECT(_DWObject), tmpbuf, NULL); |
10426 snprintf(tmpbuf, 20, "_dw_timerdata%d", id); | |
10427 g_object_set_data(G_OBJECT(_DWObject), tmpbuf, NULL); | |
10426 DW_MUTEX_UNLOCK; | 10428 DW_MUTEX_UNLOCK; |
10427 } | 10429 } |
10428 | 10430 |
10429 /* Get the actual signal window handle not the user window handle | 10431 /* Get the actual signal window handle not the user window handle |
10430 * Should mimic the code in dw_signal_connect() below. | 10432 * Should mimic the code in dw_signal_connect() below. |