mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
feac2a1be7
- Strict up C++ to avoid build falures in dependants. [1] Reported by: Alexander Best <arundel@h3c.de> [1]
12 lines
543 B
C
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(),
|