pkgsrc - initial commit
[pkgsrc.git] / audio / gbemol / patches / patch-ab
1 $NetBSD: patch-ab,v 1.1 2009/09/03 01:29:34 joerg Exp $
2
3 --- src/gbemol-library.c.orig   2009-04-25 04:38:51.000000000 +0200
4 +++ src/gbemol-library.c
5 @@ -21,6 +21,7 @@
6  #include "gbemol-utils.h"
7  
8  #include <gtk/gtk.h>
9 +#include <string.h>
10  
11  static GObjectClass* parent_class = NULL;
12  
13 @@ -641,7 +642,6 @@ void gbemol_library_columns_dialog (Gbem
14         gtk_widget_destroy (dlg);
15  }
16  
17 -
18  /*
19   * Populates lst with the tags
20   */
21 @@ -651,6 +651,8 @@ gbemol_library_populate_constraint (Gbem
22         GtkTreeIter iter_all, iter;     
23         GtkListStore* lst = lib->priv->lst_constraint[id];
24  
25 +       tags = g_list_sort(tags, (GCompareFunc)strcmp);
26 +
27         gtk_list_store_clear (lst);
28         
29         gtk_list_store_append (lst, &iter_all);
30 @@ -671,7 +673,6 @@ gbemol_library_populate_constraint (Gbem
31                                         -1);
32                 } while ((tags = g_list_next (tags)));
33         }
34 -
35  }
36  
37  void