From 4e8aa49c6ed317a115b85d8a4f03e1f10499ad22 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Wed, 2 Jan 2019 10:19:06 -0200 Subject: [PATCH] Fixing win32 build --- src/v3270/widget.c | 2 +- win/mingw32-libv3270.spec | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/v3270/widget.c b/src/v3270/widget.c index 8261b2a..474bbe5 100644 --- a/src/v3270/widget.c +++ b/src/v3270/widget.c @@ -1599,7 +1599,7 @@ LIB3270_EXPORT gboolean v3270_get_toggle(GtkWidget *widget, LIB3270_TOGGLE ix) **/ LIB3270_EXPORT void v3270_set_url(GtkWidget *widget, const gchar *uri) { - g_return_val_if_fail(GTK_IS_V3270(widget),NULL); + g_return_if_fail(GTK_IS_V3270(widget)); lib3270_set_url(GTK_V3270(widget)->host,uri); } diff --git a/win/mingw32-libv3270.spec b/win/mingw32-libv3270.spec index 6e2e8b7..b4783b6 100644 --- a/win/mingw32-libv3270.spec +++ b/win/mingw32-libv3270.spec @@ -47,6 +47,9 @@ BuildRoot: /var/tmp/%{name}-%{version} Provides: mingw32-libv3270 Conflicts: otherproviders(mingw32-libv3270) +Provides: mingw32(lib:v3270) +Provides: mingw32(lib:v3270-%{_libvrs}) + BuildRequires: autoconf BuildRequires: automake BuildRequires: gettext-tools -- libgit2 0.21.2