Mercurial > pidgin
comparison src/gtkaccount.c @ 12671:c8afbc1bf98b
[gaim-migrate @ 15014]
SF Patch #1392442 from resiak
Fix a comment.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 29 Dec 2005 01:56:44 +0000 |
parents | e63fb8e9f4ac |
children | d9686e688342 |
comparison
equal
deleted
inserted
replaced
12670:f57ff720957f | 12671:c8afbc1bf98b |
---|---|
2344 | 2344 |
2345 /* Figure out which node was clicked */ | 2345 /* Figure out which node was clicked */ |
2346 if (!gtk_tree_view_get_path_at_pos(GTK_TREE_VIEW(dialog->treeview), event->x, event->y, &path, &column, NULL, NULL)) | 2346 if (!gtk_tree_view_get_path_at_pos(GTK_TREE_VIEW(dialog->treeview), event->x, event->y, &path, &column, NULL, NULL)) |
2347 return FALSE; | 2347 return FALSE; |
2348 title = gtk_tree_view_column_get_title(column); | 2348 title = gtk_tree_view_column_get_title(column); |
2349 column = gtk_tree_view_get_column(treeview, COLUMN_ENABLED-1); /* -1 required by weirdness in GtkTreeView */ | 2349 /* The -1 is required because the first two columns of the list |
2350 * store are displayed as only one column in the tree view. */ | |
2351 column = gtk_tree_view_get_column(treeview, COLUMN_ENABLED-1); | |
2350 gtk_tree_model_get_iter(GTK_TREE_MODEL(dialog->model), &iter, path); | 2352 gtk_tree_model_get_iter(GTK_TREE_MODEL(dialog->model), &iter, path); |
2351 gtk_tree_path_free(path); | 2353 gtk_tree_path_free(path); |
2352 gtk_tree_model_get(GTK_TREE_MODEL(dialog->model), &iter, COLUMN_DATA, &account, -1); | 2354 gtk_tree_model_get(GTK_TREE_MODEL(dialog->model), &iter, COLUMN_DATA, &account, -1); |
2353 | 2355 |
2354 if ((account != NULL) && (event->button == 1) && | 2356 if ((account != NULL) && (event->button == 1) && |