diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-19 21:40:28 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-12-05 14:16:07 +0100 |
commit | aafcc4901395cdcb72a508b03989dd2a62bfbab5 (patch) | |
tree | c490e84473ac95f810f8e96420e29477845ba5bf | |
parent | 942a2cbc42c8c307fefb5d47e47e7d689939f10d (diff) | |
download | rpmdrake-aafcc4901395cdcb72a508b03989dd2a62bfbab5.tar rpmdrake-aafcc4901395cdcb72a508b03989dd2a62bfbab5.tar.gz rpmdrake-aafcc4901395cdcb72a508b03989dd2a62bfbab5.tar.bz2 rpmdrake-aafcc4901395cdcb72a508b03989dd2a62bfbab5.tar.xz rpmdrake-aafcc4901395cdcb72a508b03989dd2a62bfbab5.zip |
fix $model->iter_next($iter) usage with Gtk3
-rw-r--r-- | Rpmdrake/edit_urpm_sources.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm index cc65b8f9..ba287a38 100644 --- a/Rpmdrake/edit_urpm_sources.pm +++ b/Rpmdrake/edit_urpm_sources.pm @@ -457,8 +457,8 @@ sub downwards_callback() { @rows == 0 and return; my $model = $list_tv->get_model; my $iter = $model->get_iter_from_string($rows[0]); - my $next = $model->iter_next($iter); - defined $next and renum_media($model, $iter, $next); + my $next = $iter; + $model->iter_next($next) and renum_media($model, $iter, $next); $list_tv->get_selection->signal_emit('changed'); } |