reftests: Make gcc happy

This commit is contained in:
Benjamin Otte 2014-08-14 19:08:37 +02:00
parent f09573757d
commit 2120ccfd5e

View File

@ -346,13 +346,15 @@ connect_signals (GtkBuilder *builder,
const gchar *handler_name, const gchar *handler_name,
GObject *connect_object, GObject *connect_object,
GConnectFlags flags, GConnectFlags flags,
gpointer directory) gpointer user_data)
{ {
ReftestModule *module; ReftestModule *module;
const char *directory;
GCallback func; GCallback func;
GClosure *closure; GClosure *closure;
char **split; char **split;
directory = user_data;
split = g_strsplit (handler_name, ":", -1); split = g_strsplit (handler_name, ":", -1);
switch (g_strv_length (split)) switch (g_strv_length (split))