X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Fmodules%2Fgui%2Fresourceview%2Fprocesslist.c;h=ff8504cdfae4de08372b80126a1628fac369e5c8;hb=b9ce0bad7daf7c0a2333c91fdb1e35d602afe17f;hp=00d200c4b68044bd2319ef409c66d13c77c36211;hpb=8d8c5ea79a434752faf43cd66acc38196d25268d;p=lttv.git diff --git a/lttv/modules/gui/resourceview/processlist.c b/lttv/modules/gui/resourceview/processlist.c index 00d200c4..ff8504cd 100644 --- a/lttv/modules/gui/resourceview/processlist.c +++ b/lttv/modules/gui/resourceview/processlist.c @@ -12,8 +12,8 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, - * MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H @@ -766,11 +766,10 @@ HashedResourceData *resourcelist_obtain_generic(ControlFlowData *resourceview_da /* Determine if we should add it hidden or not */ { - gboolean result; GtkTreeModel *model = gtk_tree_view_get_model(GTK_TREE_VIEW(resourceview_data->process_list->process_list_widget)); GtkTreeIter parent_iter; - result = gtk_tree_model_iter_parent(model, &parent_iter, &data->y_iter); + gtk_tree_model_iter_parent(model, &parent_iter, &data->y_iter); GtkTreePath *path = gtk_tree_model_get_path(model, &parent_iter); data->hidden = gtk_tree_view_row_expanded(GTK_TREE_VIEW(resourceview_data->process_list->process_list_widget), path)?0:1; gtk_tree_path_free(path);