rpms/mingw32-gtkmm24/devel mingw32-gtkmm.patch, NONE, 1.1 mingw32-gtkmm24.spec, 1.10, 1.11
sailer
sailer at fedoraproject.org
Tue Feb 2 19:51:14 UTC 2010
- Previous message: rpms/pki-setup/F-12 .cvsignore, 1.4, 1.5 import.log, 1.3, 1.4 pki-setup.spec, 1.3, 1.4 sources, 1.4, 1.5
- Next message: rpms/pki-common/F-11 import.log,1.4,1.5 pki-common.spec,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: sailer
Update of /cvs/extras/rpms/mingw32-gtkmm24/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27280
Modified Files:
mingw32-gtkmm24.spec
Added Files:
mingw32-gtkmm.patch
Log Message:
compile fix
mingw32-gtkmm.patch:
toolpalette.cc | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
--- NEW FILE mingw32-gtkmm.patch ---
--- gtk/gtkmm/toolpalette.cc.orig 2010-02-02 19:56:53.414438999 +0100
+++ gtk/gtkmm/toolpalette.cc 2010-02-02 19:57:20.695457125 +0100
@@ -157,32 +157,32 @@
void ToolPalette::set_group_position(ToolItemGroup& group, int position)
{
-gtk_tool_palette_set_group_position(gobj(), GTK_WIDGET((group).gobj()), position);
+gtk_tool_palette_set_group_position(gobj(), ((group).gobj()), position);
}
void ToolPalette::set_exclusive(ToolItemGroup& group, bool exclusive)
{
-gtk_tool_palette_set_exclusive(gobj(), GTK_WIDGET((group).gobj()), static_cast<int>(exclusive));
+gtk_tool_palette_set_exclusive(gobj(), ((group).gobj()), static_cast<int>(exclusive));
}
void ToolPalette::set_expand(ToolItemGroup& group, bool expand)
{
-gtk_tool_palette_set_expand(gobj(), GTK_WIDGET((group).gobj()), static_cast<int>(expand));
+gtk_tool_palette_set_expand(gobj(), ((group).gobj()), static_cast<int>(expand));
}
int ToolPalette::get_group_position(ToolItemGroup& group) const
{
- return gtk_tool_palette_get_group_position(const_cast<GtkToolPalette*>(gobj()), GTK_WIDGET((group).gobj()));
+ return gtk_tool_palette_get_group_position(const_cast<GtkToolPalette*>(gobj()), ((group).gobj()));
}
bool ToolPalette::get_exclusive(ToolItemGroup& group) const
{
- return gtk_tool_palette_get_exclusive(const_cast<GtkToolPalette*>(gobj()), GTK_WIDGET((group).gobj()));
+ return gtk_tool_palette_get_exclusive(const_cast<GtkToolPalette*>(gobj()), ((group).gobj()));
}
bool ToolPalette::get_expand(ToolItemGroup& group)
{
- return gtk_tool_palette_get_expand(gobj(), GTK_WIDGET((group).gobj()));
+ return gtk_tool_palette_get_expand(gobj(), ((group).gobj()));
}
void ToolPalette::set_icon_size(IconSize icon_size)
Index: mingw32-gtkmm24.spec
===================================================================
RCS file: /cvs/extras/rpms/mingw32-gtkmm24/devel/mingw32-gtkmm24.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- mingw32-gtkmm24.spec 2 Feb 2010 09:45:26 -0000 1.10
+++ mingw32-gtkmm24.spec 2 Feb 2010 19:51:14 -0000 1.11
@@ -14,6 +14,7 @@ License: LGPLv2+
Group: Development/Libraries
URL: http://gtkmm.sourceforge.net/
Source0: http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.18/gtkmm-%{version}.tar.bz2
+Patch0: mingw32-gtkmm.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -45,7 +46,7 @@ freely combined to quickly create comple
%prep
%setup -q -n gtkmm-%{version}
-
+%patch0 -p0 -b .mingw32
%build
%{_mingw32_configure} --disable-static --enable-shared --disable-demos --disable-documentation
- Previous message: rpms/pki-setup/F-12 .cvsignore, 1.4, 1.5 import.log, 1.3, 1.4 pki-setup.spec, 1.3, 1.4 sources, 1.4, 1.5
- Next message: rpms/pki-common/F-11 import.log,1.4,1.5 pki-common.spec,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list