[gtk+] reftests: Make gcc happy
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] reftests: Make gcc happy
- Date: Thu, 14 Aug 2014 17:53:22 +0000 (UTC)
commit 2120ccfd5e87dd7a86bf8736616b75454ef02f6e
Author: Benjamin Otte <otte redhat com>
Date: Thu Aug 14 19:08:37 2014 +0200
reftests: Make gcc happy
testsuite/reftests/gtk-reftest.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/testsuite/reftests/gtk-reftest.c b/testsuite/reftests/gtk-reftest.c
index a9da81b..ed0e634 100644
--- a/testsuite/reftests/gtk-reftest.c
+++ b/testsuite/reftests/gtk-reftest.c
@@ -346,13 +346,15 @@ connect_signals (GtkBuilder *builder,
const gchar *handler_name,
GObject *connect_object,
GConnectFlags flags,
- gpointer directory)
+ gpointer user_data)
{
ReftestModule *module;
+ const char *directory;
GCallback func;
GClosure *closure;
char **split;
+ directory = user_data;
split = g_strsplit (handler_name, ":", -1);
switch (g_strv_length (split))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]