1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/devel/libglademm/files/patch-libglade__libglademm__xml.h
Alexander Nedotsukov feac2a1be7 - Update to 2.1.3
- Strict up C++ to avoid build falures in dependants. [1]

Reported by: Alexander Best <arundel@h3c.de> [1]
2005-10-13 05:38:06 +00:00

12 lines
543 B
C

--- libglade/libglademm/xml.h.orig Tue Oct 11 11:18:23 2005
+++ libglade/libglademm/xml.h Tue Oct 11 11:18:51 2005
@@ -240,7 +240,7 @@
//If there is already a C++ instance, then return it again:
if(pObjectBase)
{
- widget = dynamic_cast<T_Widget*>( Glib::wrap(pCWidget) );
+ widget = dynamic_cast<T_Widget*>( Glib::wrap((GtkWidget*)pCWidget) );
//The dynamic cast checks that it is of the correct type.
//Somebody might be trying to call get_widget_derived() after already calling get_widget(),