mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-06 03:02:30 +01:00
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;
|
GtkTreeModel *model;
|
||||||
GtkTreeSelection *sel;
|
GtkTreeSelection *sel;
|
||||||
GtkTreeIter iter;
|
GtkTreeIter iter;
|
||||||
GValue mask = G_VALUE_INIT;
|
GValue mask;
|
||||||
GValue from = G_VALUE_INIT;
|
GValue from;
|
||||||
GValue date = G_VALUE_INIT;
|
GValue date;
|
||||||
char *str;
|
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)
|
/* get selection (which should have been set on click)
|
||||||
* and temporarily switch to single mode to get selected iter */
|
* and temporarily switch to single mode to get selected iter */
|
||||||
|
Loading…
Reference in New Issue
Block a user