comparison plugins/notify.c @ 192:e9ca9146ebf1

[gaim-migrate @ 202] If you have the lagometer set so the lag is being tested, it would give you a new conversation window to yourself. Now it shouldn't. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 27 Apr 2000 19:07:18 +0000
parents 948100a8cb23
children 18e147714c4b
comparison
equal deleted inserted replaced
191:948100a8cb23 192:e9ca9146ebf1
1 #define GAIM_PLUGINS 1 #define GAIM_PLUGINS
2 #include "gaim.h" 2 #include "gaim.h"
3 3
4 #include <gtk/gtk.h> 4 #include <gtk/gtk.h>
5 #include <string.h>
5 6
6 void *handle; 7 void *handle;
7 8
8 void received_im(char **who, char **what, void *m) { 9 void received_im(char **who, char **what, void *m) {
9 char buf[256]; 10 char buf[256];
10 struct conversation *cnv = find_conversation(*who); 11 struct conversation *cnv = find_conversation(*who);
11 GtkWindow *win; 12 GtkWindow *win;
13
14 if (!strcmp(*what, LAGOMETER_STR))
15 return;
12 16
13 if (cnv == NULL) 17 if (cnv == NULL)
14 cnv = new_conversation(*who); 18 cnv = new_conversation(*who);
15 19
16 win = (GtkWindow *)cnv->window; 20 win = (GtkWindow *)cnv->window;