comparison src/gtkaccount.c @ 10641:5564a3066387

[gaim-migrate @ 12149] Stu pointed this out! committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 26 Feb 2005 19:20:27 +0000
parents 43ab987a0222
children 6a618db0a404
comparison
equal deleted inserted replaced
10640:43ab987a0222 10641:5564a3066387
2180 2180
2181 /* Figure out which node was clicked */ 2181 /* Figure out which node was clicked */
2182 if (!gtk_tree_view_get_path_at_pos(GTK_TREE_VIEW(dialog->treeview), event->x, event->y, &path, NULL, NULL, NULL)) 2182 if (!gtk_tree_view_get_path_at_pos(GTK_TREE_VIEW(dialog->treeview), event->x, event->y, &path, NULL, NULL, NULL))
2183 return FALSE; 2183 return FALSE;
2184 gtk_tree_model_get_iter(GTK_TREE_MODEL(dialog->model), &iter, path); 2184 gtk_tree_model_get_iter(GTK_TREE_MODEL(dialog->model), &iter, path);
2185 gtk_tree_path_free(path);
2185 gtk_tree_model_get(GTK_TREE_MODEL(dialog->model), &iter, COLUMN_DATA, &account, -1); 2186 gtk_tree_model_get(GTK_TREE_MODEL(dialog->model), &iter, COLUMN_DATA, &account, -1);
2186 2187
2187 if ((account != NULL) && (event->button == 1) && 2188 if ((account != NULL) && (event->button == 1) &&
2188 (event->type == GDK_2BUTTON_PRESS)) 2189 (event->type == GDK_2BUTTON_PRESS))
2189 { 2190 {