summaryrefslogtreecommitdiff
path: root/src/trg-torrent-add-dialog.c
diff options
context:
space:
mode:
authorGravatar Patrick Griffis <tingping@tingping.se>2015-12-26 20:25:45 -0500
committerGravatar Patrick Griffis <tingping@tingping.se>2016-01-19 19:35:10 -0500
commit0646e115fd635e0b96739ea39e65c0ef78ffaa30 (patch)
tree14651704a28f0c5c6a6b26d95d6c8cf7617e93a1 /src/trg-torrent-add-dialog.c
parent2f7f7e916963d3a2f31dcabd34fbb50b562230aa (diff)
Fix numerous warnings/errors
Diffstat (limited to 'src/trg-torrent-add-dialog.c')
-rw-r--r--src/trg-torrent-add-dialog.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/trg-torrent-add-dialog.c b/src/trg-torrent-add-dialog.c
index 9058757..37e4da0 100644
--- a/src/trg-torrent-add-dialog.c
+++ b/src/trg-torrent-add-dialog.c
@@ -238,7 +238,7 @@ onViewButtonPressed(GtkWidget * w, GdkEventButton * event, gpointer gdata)
(set_unwanted), gdata);
}
-GtkWidget *gtr_file_list_new(GtkTreeStore ** store)
+static GtkWidget *gtr_file_list_new(GtkTreeStore ** store)
{
int size;
int width;
@@ -256,7 +256,6 @@ GtkWidget *gtr_file_list_new(GtkTreeStore ** store)
/* create the view */
view = gtk_tree_view_new();
tree_view = GTK_TREE_VIEW(view);
- gtk_tree_view_set_rules_hint(tree_view, TRUE);
gtk_container_set_border_width(GTK_CONTAINER(view), GUI_PAD_BIG);
g_signal_connect(view, "button-press-event",
G_CALLBACK(onViewButtonPressed), view);
@@ -374,7 +373,7 @@ static void gtr_dialog_set_content(GtkDialog * dialog, GtkWidget * content)
gtk_widget_show_all(content);
}
-GtkWidget *gtr_priority_combo_new(void)
+static GtkWidget *gtr_priority_combo_new(void)
{
return gtr_combo_box_new_enum(_("Low"), TR_PRI_LOW, _("Normal"),
TR_PRI_NORMAL, _("High"), TR_PRI_HIGH,