comparison src/buddy.c @ 4730:9d3b7b106def

[gaim-migrate @ 5043] Fixed a pair of bugs. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 12 Mar 2003 23:19:39 +0000
parents 751c37a940dd
children c15e0699acae
comparison
equal deleted inserted replaced
4729:751c37a940dd 4730:9d3b7b106def
431 431
432 gtk_tree_path_free(path); 432 gtk_tree_path_free(path);
433 return FALSE; 433 return FALSE;
434 } 434 }
435 435
436 static void gaim_gtk_blist_motion_cb (GtkWidget *tv, GdkEventMotion *event, gpointer null) 436 static gboolean gaim_gtk_blist_motion_cb (GtkWidget *tv, GdkEventMotion *event, gpointer null)
437 { 437 {
438 GtkTreePath *path; 438 GtkTreePath *path;
439 439
440 if (gtkblist->timeout) { 440 if (gtkblist->timeout) {
441 if ((event->y > gtkblist->rect.y) && ((event->y - gtkblist->rect.height) < gtkblist->rect.y)) 441 if ((event->y > gtkblist->rect.y) && ((event->y - gtkblist->rect.height) < gtkblist->rect.y))
452 gtk_tree_view_get_path_at_pos(GTK_TREE_VIEW(tv), event->x, event->y, &path, NULL, NULL, NULL); 452 gtk_tree_view_get_path_at_pos(GTK_TREE_VIEW(tv), event->x, event->y, &path, NULL, NULL, NULL);
453 gtk_tree_view_get_cell_area(GTK_TREE_VIEW(tv), path, NULL, &gtkblist->rect); 453 gtk_tree_view_get_cell_area(GTK_TREE_VIEW(tv), path, NULL, &gtkblist->rect);
454 if (path) 454 if (path)
455 gtk_tree_path_free(path); 455 gtk_tree_path_free(path);
456 gtkblist->timeout = g_timeout_add(500, (GSourceFunc)gaim_gtk_blist_tooltip_timeout, tv); 456 gtkblist->timeout = g_timeout_add(500, (GSourceFunc)gaim_gtk_blist_tooltip_timeout, tv);
457 return FALSE;
457 } 458 }
458 459
459 static void gaim_gtk_blist_leave_cb (GtkWidget *w, GdkEventCrossing *e, gpointer n) 460 static void gaim_gtk_blist_leave_cb (GtkWidget *w, GdkEventCrossing *e, gpointer n)
460 { 461 {
461 if (gtkblist->timeout == 0) 462 if (gtkblist->timeout == 0)