Mercurial > hg > xmms-sid
comparison src/xmms-sid.h @ 626:248aa59cb6a3
XS_SIGNAL_CONNECT() macro added and used.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 03 Sep 2007 02:41:04 +0000 |
parents | d7389ea52113 |
children | 8ece70f53d83 |
comparison
equal
deleted
inserted
replaced
625:547f4d35f56a | 626:248aa59cb6a3 |
---|---|
217 (void) b; (void) d; \ | 217 (void) b; (void) d; \ |
218 gtk_widget_destroy(xs_ ## MV ); \ | 218 gtk_widget_destroy(xs_ ## MV ); \ |
219 xs_ ## MV = NULL; \ | 219 xs_ ## MV = NULL; \ |
220 } | 220 } |
221 | 221 |
222 #define XS_SIGNAL_CONNECT(SOBJ, SNAME, SFUNC, SDATA) \ | |
223 gtk_signal_connect(GTK_OBJECT(SOBJ), SNAME, GTK_SIGNAL_FUNC(SFUNC), SDATA) | |
222 | 224 |
223 #ifdef __cplusplus | 225 #ifdef __cplusplus |
224 } | 226 } |
225 #endif | 227 #endif |
226 #endif /* XMMS_SID_H */ | 228 #endif /* XMMS_SID_H */ |