Don't use G_VALUE_INIT since it was introduced in glib 2.30, and our minimum
requirement is glib 2.28. This was giving a compilation error in FreeBSD 9.1, since it uses glib 2.28.
This commit is contained in:
parent
73c9321361
commit
4886cc8258
@ -323,10 +323,14 @@ banlist_copyentry (GtkWidget *menuitem, GtkTreeView *view)
|
||||
GtkTreeModel *model;
|
||||
GtkTreeSelection *sel;
|
||||
GtkTreeIter iter;
|
||||
GValue mask = G_VALUE_INIT;
|
||||
GValue from = G_VALUE_INIT;
|
||||
GValue date = G_VALUE_INIT;
|
||||
GValue mask;
|
||||
GValue from;
|
||||
GValue date;
|
||||
char *str;
|
||||
|
||||
memset (&mask, 0, sizeof (mask));
|
||||
memset (&from, 0, sizeof (from));
|
||||
memset (&date, 0, sizeof (date));
|
||||
|
||||
/* get selection (which should have been set on click)
|
||||
* and temporarily switch to single mode to get selected iter */
|
||||
|
Loading…
Reference in New Issue
Block a user