diff options
author | jstebbins <[email protected]> | 2010-06-07 21:49:38 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2010-06-07 21:49:38 +0000 |
commit | 6874e350d53bb2e362da011d7f9c0a3befcd7e6b (patch) | |
tree | 49723f6a420010222ea6449d9f1ab37d0c9141ad /gtk/src/main.c | |
parent | 57493a2c65a6bbccc01a268dc0760555fd1e0178 (diff) |
LinGui: rework some of the logic behind the audio tab handler
gets rid of some duplication of values that i had. makes it
easier to keep the visible list and the data structures behind
it in sync.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3369 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/main.c')
-rw-r--r-- | gtk/src/main.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c index 2a8e4524b..7e62d6099 100644 --- a/gtk/src/main.c +++ b/gtk/src/main.c @@ -330,13 +330,9 @@ bind_audio_tree_model (signal_user_data_t *ud) selection = gtk_tree_view_get_selection (treeview); // 12 columns in model. 6 are visible, the other 6 are for storing // values that I need - treestore = gtk_list_store_new(13, G_TYPE_STRING, G_TYPE_STRING, + treestore = gtk_list_store_new(6, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, - G_TYPE_STRING, G_TYPE_STRING, - G_TYPE_STRING, G_TYPE_STRING, - G_TYPE_STRING, G_TYPE_STRING, - G_TYPE_STRING, G_TYPE_DOUBLE, - G_TYPE_STRING); + G_TYPE_STRING, G_TYPE_STRING); gtk_tree_view_set_model(treeview, GTK_TREE_MODEL(treestore)); cell = gtk_cell_renderer_text_new(); |