From: Christian H. <ch...@us...> - 2003-01-22 03:12:23
|
Update of /cvsroot/gaim/gaim/src In directory sc8-pr-cvs1:/tmp/cvs-serv29857 Modified Files: gtkconv.h Log Message: Some utility macros for determining if a conversation or window uses the GTK+ UI. I'll make use of these later. Index: gtkconv.h =================================================================== RCS file: /cvsroot/gaim/gaim/src/gtkconv.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- gtkconv.h 20 Jan 2003 09:10:06 -0000 1.1 +++ gtkconv.h 22 Jan 2003 03:12:21 -0000 1.2 @@ -176,6 +176,11 @@ #define GAIM_GTK_CONVERSATION(conv) \ ((struct gaim_gtk_conversation *)(conv)->ui_data) +#define GAIM_IS_GTK_WINDOW(win) \ + (gaim_window_get_ops(win) == gaim_get_gtk_window_ops()) + +#define GAIM_IS_GTK_CONVERSATION(conv) \ + (gaim_conversation_get_ops(win) == gaim_get_gtk_conversation_ops()) /************************************************************************** * @name GTK+ Conversation API |