Commit 4e8aa49c6ed317a115b85d8a4f03e1f10499ad22

Authored by Perry Werneck
1 parent dfbeaa50
Exists in master and in 1 other branch develop

Fixing win32 build

Showing 2 changed files with 4 additions and 1 deletions   Show diff stats
src/v3270/widget.c
@@ -1599,7 +1599,7 @@ LIB3270_EXPORT gboolean v3270_get_toggle(GtkWidget *widget, LIB3270_TOGGLE ix) @@ -1599,7 +1599,7 @@ LIB3270_EXPORT gboolean v3270_get_toggle(GtkWidget *widget, LIB3270_TOGGLE ix)
1599 **/ 1599 **/
1600 LIB3270_EXPORT void v3270_set_url(GtkWidget *widget, const gchar *uri) 1600 LIB3270_EXPORT void v3270_set_url(GtkWidget *widget, const gchar *uri)
1601 { 1601 {
1602 - g_return_val_if_fail(GTK_IS_V3270(widget),NULL); 1602 + g_return_if_fail(GTK_IS_V3270(widget));
1603 lib3270_set_url(GTK_V3270(widget)->host,uri); 1603 lib3270_set_url(GTK_V3270(widget)->host,uri);
1604 } 1604 }
1605 1605
win/mingw32-libv3270.spec
@@ -47,6 +47,9 @@ BuildRoot: /var/tmp/%{name}-%{version} @@ -47,6 +47,9 @@ BuildRoot: /var/tmp/%{name}-%{version}
47 Provides: mingw32-libv3270 47 Provides: mingw32-libv3270
48 Conflicts: otherproviders(mingw32-libv3270) 48 Conflicts: otherproviders(mingw32-libv3270)
49 49
  50 +Provides: mingw32(lib:v3270)
  51 +Provides: mingw32(lib:v3270-%{_libvrs})
  52 +
50 BuildRequires: autoconf 53 BuildRequires: autoconf
51 BuildRequires: automake 54 BuildRequires: automake
52 BuildRequires: gettext-tools 55 BuildRequires: gettext-tools