aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-02-02 23:15:04 +0000
committerChristian Grothoff <christian@grothoff.org>2012-02-02 23:15:04 +0000
commitc29ceb96428b8394e8872448b3e705edc6ec56df (patch)
treefb25f5e0b0c9aad9467dc0f5c4a015d32e0f32e5
parent12f830715ab602abcdfd58fe6137d2485b504416 (diff)
downloadgnunet-gtk-c29ceb96428b8394e8872448b3e705edc6ec56df.tar.gz
gnunet-gtk-c29ceb96428b8394e8872448b3e705edc6ec56df.zip
-factoring out remove subtree API, using it to better clean up publish dialog
-rw-r--r--src/fs/gnunet-fs-gtk_publish-dialog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/gnunet-fs-gtk_publish-dialog.c b/src/fs/gnunet-fs-gtk_publish-dialog.c
index fe00a328..b921044a 100644
--- a/src/fs/gnunet-fs-gtk_publish-dialog.c
+++ b/src/fs/gnunet-fs-gtk_publish-dialog.c
@@ -660,7 +660,7 @@ GNUNET_GTK_master_publish_dialog_left_button_clicked_cb (GtkWidget * dummy,
660 return; 660 return;
661 } 661 }
662 copy_entry (ctx, ctx->file_info_treemodel, &iter, &pos, GNUNET_YES); 662 copy_entry (ctx, ctx->file_info_treemodel, &iter, &pos, GNUNET_YES);
663 remove_old_entry (GTK_TREE_STORE (ctx->file_info_treemodel), &iter); 663 GNUNET_FS_GTK_remove_treestore_subtree (GTK_TREE_STORE (ctx->file_info_treemodel), &iter);
664} 664}
665 665
666 666
@@ -713,7 +713,7 @@ GNUNET_GTK_master_publish_dialog_up_button_clicked_cb (GtkWidget * dummy,
713 return; 713 return;
714 } 714 }
715 copy_entry (ctx, ctx->file_info_treemodel, &iter, &pos, GNUNET_YES); 715 copy_entry (ctx, ctx->file_info_treemodel, &iter, &pos, GNUNET_YES);
716 remove_old_entry (GTK_TREE_STORE (ctx->file_info_treemodel), &iter); 716 GNUNET_FS_GTK_remove_treestore_subtree (GTK_TREE_STORE (ctx->file_info_treemodel), &iter);
717} 717}
718 718
719 719
@@ -751,7 +751,7 @@ GNUNET_GTK_master_publish_dialog_down_button_clicked_cb (GtkWidget * dummy,
751 return; 751 return;
752 } 752 }
753 copy_entry (ctx, ctx->file_info_treemodel, &iter, &pos, GNUNET_YES); 753 copy_entry (ctx, ctx->file_info_treemodel, &iter, &pos, GNUNET_YES);
754 remove_old_entry (GTK_TREE_STORE (ctx->file_info_treemodel), &iter); 754 GNUNET_FS_GTK_remove_treestore_subtree (GTK_TREE_STORE (ctx->file_info_treemodel), &iter);
755} 755}
756 756
757 757