[f-spot] [xbuild] Added the generated file for gtk-sharp-beans
- From: Stephen Shaw <sshaw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot] [xbuild] Added the generated file for gtk-sharp-beans
- Date: Sat, 30 Jun 2012 19:52:10 +0000 (UTC)
commit ae5455fc0d99dbcb51c6919a1e9a5fc4ad880a01
Author: Stephen Shaw <sshaw decriptor com>
Date: Fri Jun 29 12:55:14 2012 -0600
[xbuild] Added the generated file for gtk-sharp-beans
This is part of moving over to xbuild.
Ultimately, this will all be removed with gtk-sharp3
F-Spot.sln | 11 +
configure.ac | 1 -
lib/Makefile.am | 1 -
lib/Mono.Google/Mono.Google.csproj | 16 +-
lib/Mono.Tabblo/Mono.Tabblo.csproj | 16 +-
lib/SmugMugNet/SmugMugNet.csproj | 16 +-
lib/gtk-sharp-beans/AssemblyInfo.cs | 3 +-
lib/gtk-sharp-beans/gtk-sharp-beans.csproj | 78 +++
lib/gtk-sharp-beans/gtk_generated/Builder.cs | 621 ++++++++++++++++++++
.../gtk_generated/BuilderConnectFunc.cs | 10 +
lib/gtk-sharp-beans/gtk_generated/BuilderError.cs | 22 +
.../GtkBeansSharp.BuilderConnectFuncNative.cs | 96 +++
.../gtk_generated/MountOperation.cs | 96 +++
lib/gtk-sharp-beans/gtk_generated/ObjectManager.cs | 19 +
.../MainApp.UnitTest/MainApp.UnitTest.csproj | 10 +-
src/Clients/MainApp/MainApp.csproj | 7 +-
src/Core/FSpot.Bling/FSpot.Bling.csproj | 9 +-
src/Core/FSpot.Gui/FSpot.Gui.csproj | 8 +-
.../FSpot.Exporters.CD/FSpot.Exporters.CD.csproj | 7 +-
.../FSpot.Exporters.Facebook.csproj | 8 +-
.../FSpot.Exporters.Flickr.csproj | 7 +-
.../FSpot.Exporters.Folder.csproj | 7 +-
.../FSpot.Exporters.Gallery.csproj | 7 +-
.../FSpot.Exporters.PicasaWeb.csproj | 7 +-
.../FSpot.Exporters.SmugMug.csproj | 7 +-
.../FSpot.Exporters.Tabblo.csproj | 7 +-
.../FSpot.Exporters.Zip/FSpot.Exporters.Zip.csproj | 7 +-
.../FSpot.Tools.ChangePhotoPath.csproj | 7 +-
.../FSpot.Tools.DevelopInUFraw.csproj | 7 +-
.../FSpot.Tools.LiveWebGallery.csproj | 7 +-
.../FSpot.Tools.MergeDb/FSpot.Tools.MergeDb.csproj | 7 +-
.../FSpot.Tools.ScreensaverConfig.csproj | 7 +-
32 files changed, 1055 insertions(+), 84 deletions(-)
---
diff --git a/F-Spot.sln b/F-Spot.sln
index 9dbc2e8..6f0e2ae 100644
--- a/F-Spot.sln
+++ b/F-Spot.sln
@@ -35,6 +35,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mono.Tabblo", "lib\Mono.Tab
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "unique-sharp", "lib\unique-sharp\unique-sharp.csproj", "{5DBBB8C5-7BAF-46DA-B7D2-2486430141E2}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "gtk-sharp-beans", "lib\gtk-sharp-beans\gtk-sharp-beans.csproj", "{069D1797-427D-4CED-A754-233DE64FC5DD}"
+EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Clients", "Clients", "{9D75644A-DEF1-4362-8553-4B5F09783DC9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MainApp", "src\Clients\MainApp\MainApp.csproj", "{27EC05FB-0223-4B26-8157-E49AF81D0007}"
@@ -115,6 +117,14 @@ Global
{05A7FEC4-974A-40EB-AFB8-14E523EEEFFB}.Release|Any CPU.Build.0 = Release|Any CPU
{05A7FEC4-974A-40EB-AFB8-14E523EEEFFB}.Submodule|Any CPU.ActiveCfg = Debug|Any CPU
{05A7FEC4-974A-40EB-AFB8-14E523EEEFFB}.Submodule|Any CPU.Build.0 = Debug|Any CPU
+ {069D1797-427D-4CED-A754-233DE64FC5DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {069D1797-427D-4CED-A754-233DE64FC5DD}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {069D1797-427D-4CED-A754-233DE64FC5DD}.Default|Any CPU.ActiveCfg = Debug|Any CPU
+ {069D1797-427D-4CED-A754-233DE64FC5DD}.Default|Any CPU.Build.0 = Debug|Any CPU
+ {069D1797-427D-4CED-A754-233DE64FC5DD}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {069D1797-427D-4CED-A754-233DE64FC5DD}.Release|Any CPU.Build.0 = Release|Any CPU
+ {069D1797-427D-4CED-A754-233DE64FC5DD}.Submodule|Any CPU.ActiveCfg = Debug|Any CPU
+ {069D1797-427D-4CED-A754-233DE64FC5DD}.Submodule|Any CPU.Build.0 = Debug|Any CPU
{0735C3A2-17C1-4C8B-9653-3854AFD64D6D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0735C3A2-17C1-4C8B-9653-3854AFD64D6D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0735C3A2-17C1-4C8B-9653-3854AFD64D6D}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -378,6 +388,7 @@ Global
{FFC3D9B1-B19A-44D8-8AA2-96DDE911320E} = {6369E0D4-0A68-4D4E-A6A0-EF2EA793002F}
{B5CDF05C-278A-40AA-A587-B27A00BD9135} = {6369E0D4-0A68-4D4E-A6A0-EF2EA793002F}
{5DBBB8C5-7BAF-46DA-B7D2-2486430141E2} = {6369E0D4-0A68-4D4E-A6A0-EF2EA793002F}
+ {069D1797-427D-4CED-A754-233DE64FC5DD} = {6369E0D4-0A68-4D4E-A6A0-EF2EA793002F}
{27EC05FB-0223-4B26-8157-E49AF81D0007} = {9D75644A-DEF1-4362-8553-4B5F09783DC9}
{A2A7E62B-8AE1-44F3-BB1B-B8E2DE7916C4} = {9D75644A-DEF1-4362-8553-4B5F09783DC9}
{416E19A2-9CD9-498F-BE75-20AB74535ACD} = {7D049DAA-F1B0-4697-9BCA-91FC0E1A2B9D}
diff --git a/configure.ac b/configure.ac
index 4b9deb6..6226c5f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -308,7 +308,6 @@ lib/gio-sharp/generator/Makefile
lib/gio-sharp/gio/Makefile
lib/gio-sharp/Makefile
lib/GKeyFile/Makefile
-lib/gtk-sharp-beans/Makefile
lib/Hyena/build/m4/Makefile
lib/Hyena/build/Makefile
lib/Hyena/build/pkg-config/Makefile
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 1a486de..a60d167 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -2,7 +2,6 @@
SUBDIRS = \
GKeyFile \
gio-sharp \
- gtk-sharp-beans \
Hyena \
libfspot \
Mono.Google \
diff --git a/lib/Mono.Google/Mono.Google.csproj b/lib/Mono.Google/Mono.Google.csproj
index b9e2c46..0de4a2c 100644
--- a/lib/Mono.Google/Mono.Google.csproj
+++ b/lib/Mono.Google/Mono.Google.csproj
@@ -13,22 +13,22 @@
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
+ <DebugSymbols>True</DebugSymbols>
<DebugType>full</DebugType>
- <Optimize>false</Optimize>
+ <Optimize>False</Optimize>
<OutputPath>..\..\bin</OutputPath>
<DefineConstants>DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
+ <ConsolePause>False</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
- <Optimize>false</Optimize>
+ <Optimize>False</Optimize>
<OutputPath>..\..\bin</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
+ <ConsolePause>False</ConsolePause>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
@@ -55,10 +55,10 @@
<ProjectExtensions>
<MonoDevelop>
<Properties>
- <MonoDevelop.Autotools.MakefileInfo IntegrationEnabled="true" RelativeMakefileName="Makefile.am" BuildTargetName="" CleanTargetName="" IsAutotoolsProject="true" RelativeConfigureInPath="../..">
- <BuildFilesVar Sync="true" Name="SOURCES" />
+ <MonoDevelop.Autotools.MakefileInfo IntegrationEnabled="True" RelativeMakefileName="Makefile.am" BuildTargetName="" CleanTargetName="" IsAutotoolsProject="True" RelativeConfigureInPath="../..">
+ <BuildFilesVar Sync="True" Name="SOURCES" />
<DeployFilesVar />
- <ResourcesVar Sync="true" Name="RESOURCES" />
+ <ResourcesVar Sync="True" Name="RESOURCES" />
<OthersVar />
<GacRefVar />
<AsmRefVar />
diff --git a/lib/Mono.Tabblo/Mono.Tabblo.csproj b/lib/Mono.Tabblo/Mono.Tabblo.csproj
index 011f842..ada54a9 100644
--- a/lib/Mono.Tabblo/Mono.Tabblo.csproj
+++ b/lib/Mono.Tabblo/Mono.Tabblo.csproj
@@ -13,22 +13,22 @@
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
+ <DebugSymbols>True</DebugSymbols>
<DebugType>full</DebugType>
- <Optimize>false</Optimize>
+ <Optimize>False</Optimize>
<OutputPath>..\..\bin</OutputPath>
<DefineConstants>DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
+ <ConsolePause>False</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
- <Optimize>false</Optimize>
+ <Optimize>False</Optimize>
<OutputPath>..\..\bin</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
+ <ConsolePause>False</ConsolePause>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
@@ -45,10 +45,10 @@
<ProjectExtensions>
<MonoDevelop>
<Properties>
- <MonoDevelop.Autotools.MakefileInfo IntegrationEnabled="true" RelativeMakefileName="Makefile.am" BuildTargetName="" CleanTargetName="" IsAutotoolsProject="true" RelativeConfigureInPath="../..">
- <BuildFilesVar Sync="true" Name="SOURCES" />
+ <MonoDevelop.Autotools.MakefileInfo IntegrationEnabled="True" RelativeMakefileName="Makefile.am" BuildTargetName="" CleanTargetName="" IsAutotoolsProject="True" RelativeConfigureInPath="../..">
+ <BuildFilesVar Sync="True" Name="SOURCES" />
<DeployFilesVar />
- <ResourcesVar Sync="true" Name="RESOURCES" />
+ <ResourcesVar Sync="True" Name="RESOURCES" />
<OthersVar />
<GacRefVar />
<AsmRefVar />
diff --git a/lib/SmugMugNet/SmugMugNet.csproj b/lib/SmugMugNet/SmugMugNet.csproj
index 30ed122..592bc43 100644
--- a/lib/SmugMugNet/SmugMugNet.csproj
+++ b/lib/SmugMugNet/SmugMugNet.csproj
@@ -13,22 +13,22 @@
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
+ <DebugSymbols>True</DebugSymbols>
<DebugType>full</DebugType>
- <Optimize>false</Optimize>
+ <Optimize>False</Optimize>
<OutputPath>..\..\bin</OutputPath>
<DefineConstants>DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
+ <ConsolePause>False</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
- <Optimize>false</Optimize>
+ <Optimize>False</Optimize>
<OutputPath>..\..\bin</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
+ <ConsolePause>False</ConsolePause>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
@@ -44,10 +44,10 @@
<ProjectExtensions>
<MonoDevelop>
<Properties>
- <MonoDevelop.Autotools.MakefileInfo IntegrationEnabled="true" RelativeMakefileName="Makefile.am" BuildTargetName="" CleanTargetName="" IsAutotoolsProject="true" RelativeConfigureInPath="../..">
- <BuildFilesVar Sync="true" Name="SOURCES" />
+ <MonoDevelop.Autotools.MakefileInfo IntegrationEnabled="True" RelativeMakefileName="Makefile.am" BuildTargetName="" CleanTargetName="" IsAutotoolsProject="True" RelativeConfigureInPath="../..">
+ <BuildFilesVar Sync="True" Name="SOURCES" />
<DeployFilesVar />
- <ResourcesVar Sync="true" Name="RESOURCES" />
+ <ResourcesVar Sync="True" Name="RESOURCES" />
<OthersVar />
<GacRefVar />
<AsmRefVar />
diff --git a/lib/gtk-sharp-beans/AssemblyInfo.cs b/lib/gtk-sharp-beans/AssemblyInfo.cs
index 284fee2..ddb98ad 100644
--- a/lib/gtk-sharp-beans/AssemblyInfo.cs
+++ b/lib/gtk-sharp-beans/AssemblyInfo.cs
@@ -2,5 +2,4 @@ using System.Reflection;
using System.Runtime.CompilerServices;
[assembly:AssemblyVersion("2.14.0.0")]
-[assembly:AssemblyDelaySign(false)]
-[assembly:AssemblyKeyFile("gtk-sharp-beans.snk")]
+[assembly:AssemblyDelaySign(false)]
\ No newline at end of file
diff --git a/lib/gtk-sharp-beans/gtk-sharp-beans.csproj b/lib/gtk-sharp-beans/gtk-sharp-beans.csproj
new file mode 100644
index 0000000..a01dd5b
--- /dev/null
+++ b/lib/gtk-sharp-beans/gtk-sharp-beans.csproj
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.21022</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{069D1797-427D-4CED-A754-233DE64FC5DD}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <RootNamespace>gtksharpbeans</RootNamespace>
+ <AssemblyName>gtk-sharp-beans</AssemblyName>
+ <ReleaseVersion>0.9.0</ReleaseVersion>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>True</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>False</Optimize>
+ <OutputPath>..\..\bin</OutputPath>
+ <DefineConstants>DEBUG;</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <ConsolePause>False</ConsolePause>
+ <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>none</DebugType>
+ <Optimize>True</Optimize>
+ <OutputPath>..\..\bin</OutputPath>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <ConsolePause>False</ConsolePause>
+ <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
+ <Private>False</Private>
+ </Reference>
+ <Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
+ <Private>False</Private>
+ </Reference>
+ <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
+ <Private>False</Private>
+ </Reference>
+ <Reference Include="gio-sharp, Version=2.14.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
+ <Private>False</Private>
+ <Package>gio-sharp-2.0</Package>
+ </Reference>
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <ItemGroup>
+ <Folder Include="gtk_generated\" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="gtk_generated\Builder.cs" />
+ <Compile Include="gtk_generated\BuilderConnectFunc.cs" />
+ <Compile Include="gtk_generated\BuilderError.cs" />
+ <Compile Include="gtk_generated\GtkBeansSharp.BuilderConnectFuncNative.cs" />
+ <Compile Include="gtk_generated\MountOperation.cs" />
+ <Compile Include="gtk_generated\ObjectManager.cs" />
+ <Compile Include="AssemblyInfo.cs" />
+ <Compile Include="Dialog.cs" />
+ <Compile Include="Drawable.cs" />
+ <Compile Include="Format.cs" />
+ <Compile Include="Global.cs" />
+ <Compile Include="Image.cs" />
+ <Compile Include="ImageMenuItem.cs" />
+ <Compile Include="PixbufFormat.cs" />
+ <Compile Include="PixbufLoader.cs" />
+ <Compile Include="Priority.cs" />
+ <Compile Include="Shell.cs" />
+ <Compile Include="Sources.cs" />
+ <Compile Include="Style.cs" />
+ <Compile Include="Timeout.cs" />
+ <Compile Include="Widget.cs" />
+ </ItemGroup>
+</Project>
\ No newline at end of file
diff --git a/lib/gtk-sharp-beans/gtk_generated/Builder.cs b/lib/gtk-sharp-beans/gtk_generated/Builder.cs
new file mode 100644
index 0000000..894ed49
--- /dev/null
+++ b/lib/gtk-sharp-beans/gtk_generated/Builder.cs
@@ -0,0 +1,621 @@
+// This file was generated by the Gtk# code generator.
+// Any changes made will be lost if regenerated.
+
+namespace GtkBeans {
+
+ using System;
+ using System.Collections;
+ using System.Runtime.InteropServices;
+
+#region Autogenerated code
+ public class Builder : GLib.Object {
+
+ [Obsolete]
+ protected Builder(GLib.GType gtype) : base(gtype) {}
+ public Builder(IntPtr raw) : base(raw) {}
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern IntPtr gtk_builder_new();
+
+ public Builder () : base (IntPtr.Zero)
+ {
+ if (GetType () != typeof (Builder)) {
+ CreateNativeObject (new string [0], new GLib.Value[0]);
+ return;
+ }
+ Raw = gtk_builder_new();
+ }
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern IntPtr gtk_builder_get_translation_domain(IntPtr raw);
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern void gtk_builder_set_translation_domain(IntPtr raw, IntPtr domain);
+
+ [GLib.Property ("translation-domain")]
+ public string TranslationDomain {
+ get {
+ IntPtr raw_ret = gtk_builder_get_translation_domain(Handle);
+ string ret = GLib.Marshaller.Utf8PtrToString (raw_ret);
+ return ret;
+ }
+ set {
+ IntPtr native_value = GLib.Marshaller.StringToPtrGStrdup (value);
+ gtk_builder_set_translation_domain(Handle, native_value);
+ GLib.Marshaller.Free (native_value);
+ }
+ }
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern unsafe bool gtk_builder_value_from_string(IntPtr raw, IntPtr pspec, IntPtr str1ng, IntPtr value, out IntPtr error);
+
+ public unsafe bool ValueFromString(IntPtr pspec, string str1ng, GLib.Value value) {
+ IntPtr native_str1ng = GLib.Marshaller.StringToPtrGStrdup (str1ng);
+ IntPtr native_value = GLib.Marshaller.StructureToPtrAlloc (value);
+ IntPtr error = IntPtr.Zero;
+ bool raw_ret = gtk_builder_value_from_string(Handle, pspec, native_str1ng, native_value, out error);
+ bool ret = raw_ret;
+ GLib.Marshaller.Free (native_str1ng);
+ value = (GLib.Value) Marshal.PtrToStructure (native_value, typeof (GLib.Value));
+ Marshal.FreeHGlobal (native_value);
+ if (error != IntPtr.Zero) throw new GLib.GException (error);
+ return ret;
+ }
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern void gtk_builder_connect_signals_full(IntPtr raw, GtkBeansSharp.BuilderConnectFuncNative func, IntPtr user_data);
+
+ public void ConnectSignalsFull(GtkBeans.BuilderConnectFunc func) {
+ GtkBeansSharp.BuilderConnectFuncWrapper func_wrapper = new GtkBeansSharp.BuilderConnectFuncWrapper (func);
+ gtk_builder_connect_signals_full(Handle, func_wrapper.NativeDelegate, IntPtr.Zero);
+ }
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern IntPtr gtk_builder_get_type_from_name(IntPtr raw, IntPtr type_name);
+
+ public GLib.GType GetTypeFromName(string type_name) {
+ IntPtr native_type_name = GLib.Marshaller.StringToPtrGStrdup (type_name);
+ IntPtr raw_ret = gtk_builder_get_type_from_name(Handle, native_type_name);
+ GLib.GType ret = new GLib.GType(raw_ret);
+ GLib.Marshaller.Free (native_type_name);
+ return ret;
+ }
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern unsafe uint gtk_builder_add_from_string(IntPtr raw, IntPtr buffer, UIntPtr length, out IntPtr error);
+
+ public unsafe uint AddFromString(string buffer) {
+ IntPtr native_buffer = GLib.Marshaller.StringToPtrGStrdup (buffer);
+ IntPtr error = IntPtr.Zero;
+ uint raw_ret = gtk_builder_add_from_string(Handle, native_buffer, new UIntPtr ((ulong) System.Text.Encoding.UTF8.GetByteCount (buffer)), out error);
+ uint ret = raw_ret;
+ GLib.Marshaller.Free (native_buffer);
+ if (error != IntPtr.Zero) throw new GLib.GException (error);
+ return ret;
+ }
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern unsafe uint gtk_builder_add_objects_from_string(IntPtr raw, IntPtr buffer, UIntPtr length, IntPtr object_ids, out IntPtr error);
+
+ public unsafe uint AddObjectsFromString(string buffer, string object_ids) {
+ IntPtr native_buffer = GLib.Marshaller.StringToPtrGStrdup (buffer);
+ IntPtr error = IntPtr.Zero;
+ uint raw_ret = gtk_builder_add_objects_from_string(Handle, native_buffer, new UIntPtr ((ulong) System.Text.Encoding.UTF8.GetByteCount (buffer)), GLib.Marshaller.StringToPtrGStrdup(object_ids), out error);
+ uint ret = raw_ret;
+ GLib.Marshaller.Free (native_buffer);
+ if (error != IntPtr.Zero) throw new GLib.GException (error);
+ return ret;
+ }
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern unsafe uint gtk_builder_add_from_file(IntPtr raw, IntPtr filename, out IntPtr error);
+
+ public unsafe uint AddFromFile(string filename) {
+ IntPtr native_filename = GLib.Marshaller.StringToPtrGStrdup (filename);
+ IntPtr error = IntPtr.Zero;
+ uint raw_ret = gtk_builder_add_from_file(Handle, native_filename, out error);
+ uint ret = raw_ret;
+ GLib.Marshaller.Free (native_filename);
+ if (error != IntPtr.Zero) throw new GLib.GException (error);
+ return ret;
+ }
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern unsafe bool gtk_builder_value_from_string_type(IntPtr raw, IntPtr type, IntPtr str1ng, IntPtr value, out IntPtr error);
+
+ public unsafe bool ValueFromStringType(GLib.GType type, string str1ng, GLib.Value value) {
+ IntPtr native_str1ng = GLib.Marshaller.StringToPtrGStrdup (str1ng);
+ IntPtr native_value = GLib.Marshaller.StructureToPtrAlloc (value);
+ IntPtr error = IntPtr.Zero;
+ bool raw_ret = gtk_builder_value_from_string_type(Handle, type.Val, native_str1ng, native_value, out error);
+ bool ret = raw_ret;
+ GLib.Marshaller.Free (native_str1ng);
+ value = (GLib.Value) Marshal.PtrToStructure (native_value, typeof (GLib.Value));
+ Marshal.FreeHGlobal (native_value);
+ if (error != IntPtr.Zero) throw new GLib.GException (error);
+ return ret;
+ }
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern IntPtr gtk_builder_get_objects(IntPtr raw);
+
+ public GLib.SList Objects {
+ get {
+ IntPtr raw_ret = gtk_builder_get_objects(Handle);
+ GLib.SList ret = new GLib.SList(raw_ret);
+ return ret;
+ }
+ }
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern IntPtr gtk_builder_get_object(IntPtr raw, IntPtr name);
+
+ public GLib.Object GetObject(string name) {
+ IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name);
+ IntPtr raw_ret = gtk_builder_get_object(Handle, native_name);
+ GLib.Object ret = GLib.Object.GetObject (raw_ret);
+ GLib.Marshaller.Free (native_name);
+ return ret;
+ }
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern int gtk_builder_error_quark();
+
+ public static int ErrorQuark() {
+ int raw_ret = gtk_builder_error_quark();
+ int ret = raw_ret;
+ return ret;
+ }
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern void gtk_builder_connect_signals(IntPtr raw, IntPtr user_data);
+
+ public void ConnectSignals(IntPtr user_data) {
+ gtk_builder_connect_signals(Handle, user_data);
+ }
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern IntPtr gtk_builder_get_type();
+
+ public static new GLib.GType GType {
+ get {
+ IntPtr raw_ret = gtk_builder_get_type();
+ GLib.GType ret = new GLib.GType(raw_ret);
+ return ret;
+ }
+ }
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern unsafe uint gtk_builder_add_objects_from_file(IntPtr raw, IntPtr filename, IntPtr object_ids, out IntPtr error);
+
+ public unsafe uint AddObjectsFromFile(string filename, string object_ids) {
+ IntPtr native_filename = GLib.Marshaller.StringToPtrGStrdup (filename);
+ IntPtr error = IntPtr.Zero;
+ uint raw_ret = gtk_builder_add_objects_from_file(Handle, native_filename, GLib.Marshaller.StringToPtrGStrdup(object_ids), out error);
+ uint ret = raw_ret;
+ GLib.Marshaller.Free (native_filename);
+ if (error != IntPtr.Zero) throw new GLib.GException (error);
+ return ret;
+ }
+
+
+ static Builder ()
+ {
+ GtkSharp.GtkbeansSharp.ObjectManager.Initialize ();
+ }
+#endregion
+#region Customized extensions
+#line 1 "Builder.custom"
+// Builder.custom - customizations to Gtk.Builder
+//
+// Authors: Stephane Delcroix <stephane delcroix org>
+// The biggest part of this code is adapted from glade#, by
+// Ricardo FernÃndez Pascual <ric users sourceforge net>
+// Rachel Hestilow <hestilow ximian com>
+//
+// Copyright (c) 2008, 2009 Novell, Inc.
+//
+// This program is free software; you can redistribute it and/or
+// modify it under the terms of version 2 of the Lesser GNU General
+// Public License as published by the Free Software Foundation.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program; if not, write to the
+// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+// Boston, MA 02111-1307, USA.
+
+[System.Serializable]
+public class HandlerNotFoundException : SystemException
+{
+ string handler_name;
+ string signal_name;
+ System.Reflection.EventInfo evnt;
+ Type delegate_type;
+
+ public HandlerNotFoundException (string handler_name, string signal_name,
+ System.Reflection.EventInfo evnt, Type delegate_type)
+ : this (handler_name, signal_name, evnt, delegate_type, null)
+ {
+ }
+
+ public HandlerNotFoundException (string handler_name, string signal_name,
+ System.Reflection.EventInfo evnt, Type delegate_type, Exception inner)
+ : base ("No handler " + handler_name + " found for signal " + signal_name,
+ inner)
+ {
+ this.handler_name = handler_name;
+ this.signal_name = signal_name;
+ this.evnt = evnt;
+ this.delegate_type = delegate_type;
+ }
+
+ public HandlerNotFoundException (string message, string handler_name, string signal_name,
+ System.Reflection.EventInfo evnt, Type delegate_type)
+ : base ((message != null) ? message : "No handler " + handler_name + " found for signal " + signal_name,
+ null)
+ {
+ this.handler_name = handler_name;
+ this.signal_name = signal_name;
+ this.evnt = evnt;
+ this.delegate_type = delegate_type;
+ }
+
+ protected HandlerNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
+ : base (info, context)
+ {
+ handler_name = info.GetString ("HandlerName");
+ signal_name = info.GetString ("SignalName");
+ evnt = info.GetValue ("Event", typeof (System.Reflection.EventInfo)) as System.Reflection.EventInfo;
+ delegate_type = info.GetValue ("DelegateType", typeof (Type)) as Type;
+ }
+
+ public string HandlerName
+ {
+ get {
+ return handler_name;
+ }
+ }
+
+ public string SignalName
+ {
+ get {
+ return signal_name;
+ }
+ }
+
+ public System.Reflection.EventInfo Event
+ {
+ get {
+ return evnt;
+ }
+ }
+
+ public Type DelegateType
+ {
+ get {
+ return delegate_type;
+ }
+ }
+
+ public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
+ {
+ base.GetObjectData (info, context);
+ info.AddValue ("HandlerName", handler_name);
+ info.AddValue ("SignalName", signal_name);
+ info.AddValue ("Event", evnt);
+ info.AddValue ("DelegateType", delegate_type);
+ }
+}
+
+
+[AttributeUsage (AttributeTargets.Field)]
+public class ObjectAttribute : Attribute
+{
+ private string name;
+ private bool specified;
+
+ public ObjectAttribute (string name)
+ {
+ specified = true;
+ this.name = name;
+ }
+
+ public ObjectAttribute ()
+ {
+ specified = false;
+ }
+
+ public string Name
+ {
+ get { return name; }
+ }
+
+ public bool Specified
+ {
+ get { return specified; }
+ }
+}
+
+public IntPtr GetRawObject(string name) {
+ IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name);
+ IntPtr raw_ret = gtk_builder_get_object(Handle, native_name);
+ GLib.Marshaller.Free (native_name);
+ return raw_ret;
+}
+
+public Builder (System.IO.Stream s) : this (s, null)
+{
+}
+
+public Builder (System.IO.Stream s, string translation_domain)
+{
+ if (s == null)
+ throw new ArgumentNullException ("s");
+
+ int size = (int) s.Length;
+ byte[] buffer = new byte[size];
+ s.Read (buffer, 0, size);
+ s.Close ();
+
+ AddFromString(System.Text.Encoding.UTF8.GetString (buffer));
+
+ TranslationDomain = translation_domain;
+}
+
+public Builder (string resource_name) : this (resource_name, null)
+{
+}
+
+public Builder (string resource_name, string translation_domain) : this (System.Reflection.Assembly.GetEntryAssembly (), resource_name, translation_domain)
+{
+}
+
+public Builder (System.Reflection.Assembly assembly, string resource_name, string translation_domain) : this ()
+{
+ if (GetType() != typeof (Builder))
+ throw new InvalidOperationException ("Cannot chain to this constructor from subclasses.");
+
+ if (assembly == null)
+ assembly = System.Reflection.Assembly.GetCallingAssembly ();
+
+ System.IO.Stream s = assembly.GetManifestResourceStream (resource_name);
+ if (s == null)
+ throw new ArgumentException ("Cannot get resource file '" + resource_name + "'",
+ "resource_name");
+
+ int size = (int) s.Length;
+ byte[] buffer = new byte[size];
+ s.Read (buffer, 0, size);
+ s.Close ();
+
+ AddFromString(System.Text.Encoding.UTF8.GetString (buffer));
+
+ TranslationDomain = translation_domain;
+}
+
+public void Autoconnect (object handler)
+{
+ BindFields (handler);
+ (new SignalConnector (this, handler)).ConnectSignals ();
+}
+
+public void Autoconnect (Type handler_class)
+{
+ BindFields (handler_class);
+ (new SignalConnector (this, handler_class)).ConnectSignals ();
+}
+
+class SignalConnector
+{
+ Builder builder;
+ Type handler_type;
+ object handler;
+
+ public SignalConnector (Builder builder, object handler)
+ {
+ this.builder = builder;
+ this.handler = handler;
+ handler_type = handler.GetType ();
+ }
+
+ public SignalConnector (Builder builder, Type handler_type)
+ {
+ this.builder = builder;
+ this.handler = null;
+ this.handler_type = handler_type;
+ }
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern void gtk_builder_connect_signals_full(IntPtr raw, GtkBeansSharp.BuilderConnectFuncNative func, IntPtr user_data);
+
+ public void ConnectSignals() {
+ GtkBeansSharp.BuilderConnectFuncWrapper func_wrapper = new GtkBeansSharp.BuilderConnectFuncWrapper (new GtkBeans.BuilderConnectFunc (ConnectFunc));
+ gtk_builder_connect_signals_full(builder.Handle, func_wrapper.NativeDelegate, IntPtr.Zero);
+ }
+
+ public void ConnectFunc (Builder builder, GLib.Object objekt, string signal_name, string handler_name, GLib.Object connect_object, GLib.ConnectFlags flags)
+ {
+ /* search for the event to connect */
+ System.Reflection.MemberInfo[] evnts = objekt.GetType ().
+ FindMembers (System.Reflection.MemberTypes.Event,
+ System.Reflection.BindingFlags.Instance
+ | System.Reflection.BindingFlags.Static
+ | System.Reflection.BindingFlags.Public
+ | System.Reflection.BindingFlags.NonPublic,
+ new System.Reflection.MemberFilter (SignalFilter), signal_name);
+ foreach (System.Reflection.EventInfo ei in evnts) {
+ bool connected = false;
+ System.Reflection.MethodInfo add = ei.GetAddMethod ();
+ System.Reflection.ParameterInfo[] addpi = add.GetParameters ();
+ if (addpi.Length == 1) { /* this should be always true, unless there's something broken */
+ Type delegate_type = addpi[0].ParameterType;
+
+ /* look for an instance method */
+ if (connect_object != null || handler != null)
+ try {
+ Delegate d = Delegate.CreateDelegate (delegate_type, connect_object != null ? connect_object : handler, handler_name);
+ add.Invoke (objekt, new object[] { d } );
+ connected = true;
+ } catch (ArgumentException) { /* ignore if there is not such instance method */
+ }
+
+ /* look for a static method if no instance method has been found */
+ if (!connected && handler_type != null)
+ try {
+ Delegate d = Delegate.CreateDelegate (delegate_type, handler_type, handler_name);
+ add.Invoke (objekt, new object[] { d } );
+ connected = true;
+ } catch (ArgumentException) { /* ignore if there is not such static method */
+ }
+
+ if (!connected) {
+ string msg = ExplainError (ei.Name, delegate_type, handler_type, handler_name);
+ throw new HandlerNotFoundException (msg, handler_name, signal_name, ei, delegate_type);
+ }
+ }
+ }
+ }
+
+ static bool SignalFilter (System.Reflection.MemberInfo m, object filterCriteria)
+ {
+ string signame = (filterCriteria as string);
+ object[] attrs = m.GetCustomAttributes (typeof (GLib.SignalAttribute), false);
+ if (attrs.Length > 0)
+ {
+ foreach (GLib.SignalAttribute a in attrs)
+ {
+ if (signame == a.CName)
+ {
+ return true;
+ }
+ }
+ return false;
+ }
+ else
+ {
+ /* this tries to match the names when no attibutes are present.
+ It is only a fallback. */
+ signame = signame.ToLower ().Replace ("_", "");
+ string evname = m.Name.ToLower ();
+ return signame == evname;
+ }
+ }
+
+ static string GetSignature (System.Reflection.MethodInfo method)
+ {
+ if (method == null)
+ return null;
+
+ System.Reflection.ParameterInfo [] parameters = method.GetParameters ();
+ System.Text.StringBuilder sb = new System.Text.StringBuilder ();
+ sb.Append ('(');
+ foreach (System.Reflection.ParameterInfo info in parameters) {
+ sb.Append (info.ParameterType.ToString ());
+ sb.Append (',');
+ }
+ if (sb.Length != 0)
+ sb.Length--;
+
+ sb.Append (')');
+ return sb.ToString ();
+ }
+
+ static string GetSignature (Type delegate_type)
+ {
+ System.Reflection.MethodInfo method = delegate_type.GetMethod ("Invoke");
+ return GetSignature (method);
+ }
+
+ const System.Reflection.BindingFlags flags = System.Reflection.BindingFlags.NonPublic |
+ System.Reflection.BindingFlags.Public |
+ System.Reflection.BindingFlags.Static |
+ System.Reflection.BindingFlags.Instance;
+ static string GetSignature (Type klass, string method_name)
+ {
+ try {
+ System.Reflection.MethodInfo method = klass.GetMethod (method_name, flags);
+ return GetSignature (method);
+ } catch {
+ // May be more than one method with that name and none matches
+ return null;
+ }
+ }
+
+
+ static string ExplainError (string event_name, Type deleg, Type klass, string method)
+ {
+ if (deleg == null || klass == null || method == null)
+ return null;
+
+ System.Text.StringBuilder sb = new System.Text.StringBuilder ();
+ string expected = GetSignature (deleg);
+ string actual = GetSignature (klass, method);
+ if (actual == null)
+ return null;
+ sb.AppendFormat ("The handler for the event {0} should take '{1}', " +
+ "but the signature of the provided handler ('{2}') is '{3}'\n",
+ event_name, expected, method, actual);
+ return sb.ToString ();
+ }
+
+}
+
+
+void BindFields (object target)
+{
+ BindFields (target, target.GetType ());
+}
+
+void BindFields (Type type)
+{
+ BindFields (null, type);
+}
+
+void BindFields (object target, Type type)
+{
+ System.Reflection.BindingFlags flags = System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.DeclaredOnly;
+ if (target != null)
+ flags |= System.Reflection.BindingFlags.Instance;
+ else
+ flags |= System.Reflection.BindingFlags.Static;
+
+ do {
+ System.Reflection.FieldInfo[] fields = type.GetFields (flags);
+ if (fields == null)
+ return;
+
+ foreach (System.Reflection.FieldInfo field in fields)
+ {
+ object[] attrs = field.GetCustomAttributes (typeof (ObjectAttribute), false);
+ if (attrs == null || attrs.Length == 0)
+ continue;
+ // The widget to field binding must be 1:1, so only check
+ // the first attribute.
+ ObjectAttribute attr = (ObjectAttribute) attrs[0];
+ GLib.Object gobject;
+ if (attr.Specified)
+ gobject = GetObject (attr.Name);
+ else
+ gobject = GetObject (field.Name);
+
+ if (gobject != null)
+ try {
+ field.SetValue (target, gobject, flags, null, null);
+ } catch (Exception e) {
+ Console.WriteLine ("Unable to set value for field " + field.Name);
+ throw e;
+ }
+ }
+ type = type.BaseType;
+ }
+ while (type != typeof(object) && type != null);
+}
+
+#endregion
+ }
+}
diff --git a/lib/gtk-sharp-beans/gtk_generated/BuilderConnectFunc.cs b/lib/gtk-sharp-beans/gtk_generated/BuilderConnectFunc.cs
new file mode 100644
index 0000000..ae4b40e
--- /dev/null
+++ b/lib/gtk-sharp-beans/gtk_generated/BuilderConnectFunc.cs
@@ -0,0 +1,10 @@
+// This file was generated by the Gtk# code generator.
+// Any changes made will be lost if regenerated.
+
+namespace GtkBeans {
+
+ using System;
+
+ public delegate void BuilderConnectFunc(GtkBeans.Builder builder, GLib.Object objekt, string signal_name, string handler_name, GLib.Object connect_object, GLib.ConnectFlags flags);
+
+}
diff --git a/lib/gtk-sharp-beans/gtk_generated/BuilderError.cs b/lib/gtk-sharp-beans/gtk_generated/BuilderError.cs
new file mode 100644
index 0000000..5ebc148
--- /dev/null
+++ b/lib/gtk-sharp-beans/gtk_generated/BuilderError.cs
@@ -0,0 +1,22 @@
+// This file was generated by the Gtk# code generator.
+// Any changes made will be lost if regenerated.
+
+namespace GtkBeans {
+
+ using System;
+ using System.Runtime.InteropServices;
+
+#region Autogenerated code
+ public enum BuilderError {
+
+ InvalidTypeFunction,
+ UnhandledTag,
+ MissingAttribute,
+ InvalidAttribute,
+ InvalidTag,
+ MissingPropertyValue,
+ InvalidValue,
+ VersionMismatch,
+ }
+#endregion
+}
diff --git a/lib/gtk-sharp-beans/gtk_generated/GtkBeansSharp.BuilderConnectFuncNative.cs b/lib/gtk-sharp-beans/gtk_generated/GtkBeansSharp.BuilderConnectFuncNative.cs
new file mode 100644
index 0000000..c3bdb7a
--- /dev/null
+++ b/lib/gtk-sharp-beans/gtk_generated/GtkBeansSharp.BuilderConnectFuncNative.cs
@@ -0,0 +1,96 @@
+// This file was generated by the Gtk# code generator.
+// Any changes made will be lost if regenerated.
+
+namespace GtkBeansSharp {
+
+ using System;
+ using System.Runtime.InteropServices;
+
+#region Autogenerated code
+ [GLib.CDeclCallback]
+ internal delegate void BuilderConnectFuncNative(IntPtr builder, IntPtr objekt, IntPtr signal_name, IntPtr handler_name, IntPtr connect_object, int flags, IntPtr user_data);
+
+ internal class BuilderConnectFuncInvoker {
+
+ BuilderConnectFuncNative native_cb;
+ IntPtr __data;
+ GLib.DestroyNotify __notify;
+
+ ~BuilderConnectFuncInvoker ()
+ {
+ if (__notify == null)
+ return;
+ __notify (__data);
+ }
+
+ internal BuilderConnectFuncInvoker (BuilderConnectFuncNative native_cb) : this (native_cb, IntPtr.Zero, null) {}
+
+ internal BuilderConnectFuncInvoker (BuilderConnectFuncNative native_cb, IntPtr data) : this (native_cb, data, null) {}
+
+ internal BuilderConnectFuncInvoker (BuilderConnectFuncNative native_cb, IntPtr data, GLib.DestroyNotify notify)
+ {
+ this.native_cb = native_cb;
+ __data = data;
+ __notify = notify;
+ }
+
+ internal GtkBeans.BuilderConnectFunc Handler {
+ get {
+ return new GtkBeans.BuilderConnectFunc(InvokeNative);
+ }
+ }
+
+ void InvokeNative (GtkBeans.Builder builder, GLib.Object objekt, string signal_name, string handler_name, GLib.Object connect_object, GLib.ConnectFlags flags)
+ {
+ IntPtr native_signal_name = GLib.Marshaller.StringToPtrGStrdup (signal_name);
+ IntPtr native_handler_name = GLib.Marshaller.StringToPtrGStrdup (handler_name);
+ native_cb (builder == null ? IntPtr.Zero : builder.Handle, objekt == null ? IntPtr.Zero : objekt.Handle, native_signal_name, native_handler_name, connect_object == null ? IntPtr.Zero : connect_object.Handle, (int) flags, __data);
+ GLib.Marshaller.Free (native_signal_name);
+ GLib.Marshaller.Free (native_handler_name);
+ }
+ }
+
+ internal class BuilderConnectFuncWrapper {
+
+ public void NativeCallback (IntPtr builder, IntPtr objekt, IntPtr signal_name, IntPtr handler_name, IntPtr connect_object, int flags, IntPtr user_data)
+ {
+ try {
+ managed (GLib.Object.GetObject(builder) as GtkBeans.Builder, GLib.Object.GetObject (objekt), GLib.Marshaller.Utf8PtrToString (signal_name), GLib.Marshaller.Utf8PtrToString (handler_name), GLib.Object.GetObject (connect_object), (GLib.ConnectFlags) flags);
+ if (release_on_call)
+ gch.Free ();
+ } catch (Exception e) {
+ GLib.ExceptionManager.RaiseUnhandledException (e, false);
+ }
+ }
+
+ bool release_on_call = false;
+ GCHandle gch;
+
+ public void PersistUntilCalled ()
+ {
+ release_on_call = true;
+ gch = GCHandle.Alloc (this);
+ }
+
+ internal BuilderConnectFuncNative NativeDelegate;
+ GtkBeans.BuilderConnectFunc managed;
+
+ public BuilderConnectFuncWrapper (GtkBeans.BuilderConnectFunc managed)
+ {
+ this.managed = managed;
+ if (managed != null)
+ NativeDelegate = new BuilderConnectFuncNative (NativeCallback);
+ }
+
+ public static GtkBeans.BuilderConnectFunc GetManagedDelegate (BuilderConnectFuncNative native)
+ {
+ if (native == null)
+ return null;
+ BuilderConnectFuncWrapper wrapper = (BuilderConnectFuncWrapper) native.Target;
+ if (wrapper == null)
+ return null;
+ return wrapper.managed;
+ }
+ }
+#endregion
+}
diff --git a/lib/gtk-sharp-beans/gtk_generated/MountOperation.cs b/lib/gtk-sharp-beans/gtk_generated/MountOperation.cs
new file mode 100644
index 0000000..421b886
--- /dev/null
+++ b/lib/gtk-sharp-beans/gtk_generated/MountOperation.cs
@@ -0,0 +1,96 @@
+// This file was generated by the Gtk# code generator.
+// Any changes made will be lost if regenerated.
+
+namespace Gtk {
+
+ using System;
+ using System.Collections;
+ using System.Runtime.InteropServices;
+
+#region Autogenerated code
+ public class MountOperation : GLib.MountOperation {
+
+ [Obsolete]
+ protected MountOperation(GLib.GType gtype) : base(gtype) {}
+ public MountOperation(IntPtr raw) : base(raw) {}
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern IntPtr gtk_mount_operation_new(IntPtr parent);
+
+ public MountOperation (Gtk.Window parent) : base (IntPtr.Zero)
+ {
+ if (GetType () != typeof (MountOperation)) {
+ ArrayList vals = new ArrayList();
+ ArrayList names = new ArrayList();
+ if (parent != null) {
+ names.Add ("parent");
+ vals.Add (new GLib.Value (parent));
+ }
+ CreateNativeObject ((string[])names.ToArray (typeof (string)), (GLib.Value[])vals.ToArray (typeof (GLib.Value)));
+ return;
+ }
+ Raw = gtk_mount_operation_new(parent == null ? IntPtr.Zero : parent.Handle);
+ }
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern IntPtr gtk_mount_operation_get_parent(IntPtr raw);
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern void gtk_mount_operation_set_parent(IntPtr raw, IntPtr parent);
+
+ [GLib.Property ("parent")]
+ public Gtk.Window Parent {
+ get {
+ IntPtr raw_ret = gtk_mount_operation_get_parent(Handle);
+ Gtk.Window ret = GLib.Object.GetObject(raw_ret) as Gtk.Window;
+ return ret;
+ }
+ set {
+ gtk_mount_operation_set_parent(Handle, value == null ? IntPtr.Zero : value.Handle);
+ }
+ }
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern IntPtr gtk_mount_operation_get_screen(IntPtr raw);
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern void gtk_mount_operation_set_screen(IntPtr raw, IntPtr screen);
+
+ [GLib.Property ("screen")]
+ public Gdk.Screen Screen {
+ get {
+ IntPtr raw_ret = gtk_mount_operation_get_screen(Handle);
+ Gdk.Screen ret = GLib.Object.GetObject(raw_ret) as Gdk.Screen;
+ return ret;
+ }
+ set {
+ gtk_mount_operation_set_screen(Handle, value == null ? IntPtr.Zero : value.Handle);
+ }
+ }
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern bool gtk_mount_operation_is_showing(IntPtr raw);
+
+ [GLib.Property ("is-showing")]
+ public bool IsShowing {
+ get {
+ bool raw_ret = gtk_mount_operation_is_showing(Handle);
+ bool ret = raw_ret;
+ return ret;
+ }
+ }
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern IntPtr gtk_mount_operation_get_type();
+
+ public static new GLib.GType GType {
+ get {
+ IntPtr raw_ret = gtk_mount_operation_get_type();
+ GLib.GType ret = new GLib.GType(raw_ret);
+ return ret;
+ }
+ }
+
+#endregion
+ }
+}
diff --git a/lib/gtk-sharp-beans/gtk_generated/ObjectManager.cs b/lib/gtk-sharp-beans/gtk_generated/ObjectManager.cs
new file mode 100644
index 0000000..706ae8c
--- /dev/null
+++ b/lib/gtk-sharp-beans/gtk_generated/ObjectManager.cs
@@ -0,0 +1,19 @@
+// This file was generated by the Gtk# code generator.
+// Any changes made will be lost if regenerated.
+
+namespace GtkSharp.GtkbeansSharp {
+
+ public class ObjectManager {
+
+ static bool initialized = false;
+ // Call this method from the appropriate module init function.
+ public static void Initialize ()
+ {
+ if (initialized)
+ return;
+
+ initialized = true;
+ GLib.GType.Register (GtkBeans.Builder.GType, typeof (GtkBeans.Builder));
+ }
+ }
+}
diff --git a/src/Clients/MainApp.UnitTest/MainApp.UnitTest.csproj b/src/Clients/MainApp.UnitTest/MainApp.UnitTest.csproj
index 0e81c3a..37b4145 100644
--- a/src/Clients/MainApp.UnitTest/MainApp.UnitTest.csproj
+++ b/src/Clients/MainApp.UnitTest/MainApp.UnitTest.csproj
@@ -13,22 +13,22 @@
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
+ <DebugSymbols>True</DebugSymbols>
<DebugType>full</DebugType>
- <Optimize>false</Optimize>
+ <Optimize>False</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
+ <ConsolePause>False</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
- <Optimize>false</Optimize>
+ <Optimize>False</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <ConsolePause>false</ConsolePause>
+ <ConsolePause>False</ConsolePause>
</PropertyGroup>
<ItemGroup>
<Reference Include="nunit.core, Version=2.4.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77" />
diff --git a/src/Clients/MainApp/MainApp.csproj b/src/Clients/MainApp/MainApp.csproj
index c2e3d0b..64cef85 100644
--- a/src/Clients/MainApp/MainApp.csproj
+++ b/src/Clients/MainApp/MainApp.csproj
@@ -328,9 +328,6 @@
<HintPath>..\..\..\lib\gio-sharp\gio\gio-sharp.dll</HintPath>
<Package>gio-sharp-2.0</Package>
</Reference>
- <Reference Include="gtk-sharp-beans">
- <HintPath>..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.dll</HintPath>
- </Reference>
<Reference Include="Mono.Cairo" />
<Reference Include="taglib-sharp, Version=2.0.4.0, Culture=neutral, PublicKeyToken=db62eba44689b5b0" />
<Reference Include="System.Core" />
@@ -387,6 +384,10 @@
<Project>{5DBBB8C5-7BAF-46DA-B7D2-2486430141E2}</Project>
<Name>unique-sharp</Name>
</ProjectReference>
+ <ProjectReference Include="..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.csproj">
+ <Project>{069D1797-427D-4CED-A754-233DE64FC5DD}</Project>
+ <Name>gtk-sharp-beans</Name>
+ </ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="FSpot\" />
diff --git a/src/Core/FSpot.Bling/FSpot.Bling.csproj b/src/Core/FSpot.Bling/FSpot.Bling.csproj
index 76171ff..40d0536 100644
--- a/src/Core/FSpot.Bling/FSpot.Bling.csproj
+++ b/src/Core/FSpot.Bling/FSpot.Bling.csproj
@@ -59,8 +59,11 @@
<ItemGroup>
<Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="System" />
- <Reference Include="gtk-sharp-beans">
- <HintPath>..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.dll</HintPath>
- </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.csproj">
+ <Project>{069D1797-427D-4CED-A754-233DE64FC5DD}</Project>
+ <Name>gtk-sharp-beans</Name>
+ </ProjectReference>
</ItemGroup>
</Project>
\ No newline at end of file
diff --git a/src/Core/FSpot.Gui/FSpot.Gui.csproj b/src/Core/FSpot.Gui/FSpot.Gui.csproj
index 5619220..f4958e1 100644
--- a/src/Core/FSpot.Gui/FSpot.Gui.csproj
+++ b/src/Core/FSpot.Gui/FSpot.Gui.csproj
@@ -83,11 +83,9 @@
<Reference Include="System" />
<Reference Include="Mono.Cairo" />
<Reference Include="taglib-sharp, Version=2.0.4.0, Culture=neutral, PublicKeyToken=db62eba44689b5b0" />
- <Reference Include="gtk-sharp-beans">
- <HintPath>..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.dll</HintPath>
- </Reference>
<Reference Include="gio-sharp">
<HintPath>..\..\..\lib\gio-sharp\gio\gio-sharp.dll</HintPath>
+ <Package>gio-sharp-2.0</Package>
</Reference>
<Reference Include="System.Core" />
</ItemGroup>
@@ -116,6 +114,10 @@
<Project>{C856EFD8-E812-4E61-8B76-E3583D94C233}</Project>
<Name>Hyena.Gui</Name>
</ProjectReference>
+ <ProjectReference Include="..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.csproj">
+ <Project>{069D1797-427D-4CED-A754-233DE64FC5DD}</Project>
+ <Name>gtk-sharp-beans</Name>
+ </ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="FSpot.Transitions\" />
diff --git a/src/Extensions/Exporters/FSpot.Exporters.CD/FSpot.Exporters.CD.csproj b/src/Extensions/Exporters/FSpot.Exporters.CD/FSpot.Exporters.CD.csproj
index b724cd9..831fc59 100644
--- a/src/Extensions/Exporters/FSpot.Exporters.CD/FSpot.Exporters.CD.csproj
+++ b/src/Extensions/Exporters/FSpot.Exporters.CD/FSpot.Exporters.CD.csproj
@@ -65,9 +65,6 @@
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="System" />
- <Reference Include="gtk-sharp-beans">
- <HintPath>..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.dll</HintPath>
- </Reference>
<Reference Include="gio-sharp">
<HintPath>..\..\..\..\lib\gio-sharp\gio\gio-sharp.dll</HintPath>
<Package>gio-sharp-2.0</Package>
@@ -86,6 +83,10 @@
<Project>{95374549-9553-4C1E-9D89-667755F90E12}</Project>
<Name>Hyena</Name>
</ProjectReference>
+ <ProjectReference Include="..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.csproj">
+ <Project>{069D1797-427D-4CED-A754-233DE64FC5DD}</Project>
+ <Name>gtk-sharp-beans</Name>
+ </ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\" />
diff --git a/src/Extensions/Exporters/FSpot.Exporters.Facebook/FSpot.Exporters.Facebook.csproj b/src/Extensions/Exporters/FSpot.Exporters.Facebook/FSpot.Exporters.Facebook.csproj
index 5bb2b1c..27a31fd 100644
--- a/src/Extensions/Exporters/FSpot.Exporters.Facebook/FSpot.Exporters.Facebook.csproj
+++ b/src/Extensions/Exporters/FSpot.Exporters.Facebook/FSpot.Exporters.Facebook.csproj
@@ -91,11 +91,9 @@
<Reference Include="Gnome.Keyring, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a73e1bde00c9b66" />
<Reference Include="System.Xml" />
<Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
- <Reference Include="gtk-sharp-beans">
- <HintPath>..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.dll</HintPath>
- </Reference>
<Reference Include="gio-sharp">
<HintPath>..\..\..\..\lib\gio-sharp\gio\gio-sharp.dll</HintPath>
+ <Package>gio-sharp-2.0</Package>
</Reference>
<Reference Include="System.Core" />
</ItemGroup>
@@ -128,5 +126,9 @@
<Project>{05A7FEC4-974A-40EB-AFB8-14E523EEEFFB}</Project>
<Name>FSpot.Gui</Name>
</ProjectReference>
+ <ProjectReference Include="..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.csproj">
+ <Project>{069D1797-427D-4CED-A754-233DE64FC5DD}</Project>
+ <Name>gtk-sharp-beans</Name>
+ </ProjectReference>
</ItemGroup>
</Project>
\ No newline at end of file
diff --git a/src/Extensions/Exporters/FSpot.Exporters.Flickr/FSpot.Exporters.Flickr.csproj b/src/Extensions/Exporters/FSpot.Exporters.Flickr/FSpot.Exporters.Flickr.csproj
index d5200e4..f9480ec 100644
--- a/src/Extensions/Exporters/FSpot.Exporters.Flickr/FSpot.Exporters.Flickr.csproj
+++ b/src/Extensions/Exporters/FSpot.Exporters.Flickr/FSpot.Exporters.Flickr.csproj
@@ -62,9 +62,6 @@
<Reference Include="Mono.Posix" />
<Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
- <Reference Include="gtk-sharp-beans">
- <HintPath>..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.dll</HintPath>
- </Reference>
<Reference Include="FlickrNet, Version=2.2.0.0, Culture=neutral, PublicKeyToken=2491df59efa5d132">
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
@@ -91,6 +88,10 @@
<Project>{57EDC3BC-E777-4400-B4E7-32A5D8F15A76}</Project>
<Name>FSpot.Core</Name>
</ProjectReference>
+ <ProjectReference Include="..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.csproj">
+ <Project>{069D1797-427D-4CED-A754-233DE64FC5DD}</Project>
+ <Name>gtk-sharp-beans</Name>
+ </ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\" />
diff --git a/src/Extensions/Exporters/FSpot.Exporters.Folder/FSpot.Exporters.Folder.csproj b/src/Extensions/Exporters/FSpot.Exporters.Folder/FSpot.Exporters.Folder.csproj
index 0da7fae..caad72f 100644
--- a/src/Extensions/Exporters/FSpot.Exporters.Folder/FSpot.Exporters.Folder.csproj
+++ b/src/Extensions/Exporters/FSpot.Exporters.Folder/FSpot.Exporters.Folder.csproj
@@ -90,6 +90,10 @@
<Project>{05A7FEC4-974A-40EB-AFB8-14E523EEEFFB}</Project>
<Name>FSpot.Gui</Name>
</ProjectReference>
+ <ProjectReference Include="..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.csproj">
+ <Project>{069D1797-427D-4CED-A754-233DE64FC5DD}</Project>
+ <Name>gtk-sharp-beans</Name>
+ </ProjectReference>
</ItemGroup>
<ItemGroup>
<Reference Include="ICSharpCode.SharpZipLib" />
@@ -98,9 +102,6 @@
<Reference Include="System.Web" />
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
- <Reference Include="gtk-sharp-beans">
- <HintPath>..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.dll</HintPath>
- </Reference>
<Reference Include="gio-sharp">
<HintPath>..\..\..\..\lib\gio-sharp\gio\gio-sharp.dll</HintPath>
<Package>gio-sharp-2.0</Package>
diff --git a/src/Extensions/Exporters/FSpot.Exporters.Gallery/FSpot.Exporters.Gallery.csproj b/src/Extensions/Exporters/FSpot.Exporters.Gallery/FSpot.Exporters.Gallery.csproj
index 7c7d97f..06f89e2 100644
--- a/src/Extensions/Exporters/FSpot.Exporters.Gallery/FSpot.Exporters.Gallery.csproj
+++ b/src/Extensions/Exporters/FSpot.Exporters.Gallery/FSpot.Exporters.Gallery.csproj
@@ -79,9 +79,6 @@
<Reference Include="System.Xml" />
<Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
- <Reference Include="gtk-sharp-beans">
- <HintPath>..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.dll</HintPath>
- </Reference>
<Reference Include="gio-sharp">
<HintPath>..\..\..\..\lib\gio-sharp\gio\gio-sharp.dll</HintPath>
<Package>gio-sharp-2.0</Package>
@@ -112,6 +109,10 @@
<Project>{05A7FEC4-974A-40EB-AFB8-14E523EEEFFB}</Project>
<Name>FSpot.Gui</Name>
</ProjectReference>
+ <ProjectReference Include="..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.csproj">
+ <Project>{069D1797-427D-4CED-A754-233DE64FC5DD}</Project>
+ <Name>gtk-sharp-beans</Name>
+ </ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\" />
diff --git a/src/Extensions/Exporters/FSpot.Exporters.PicasaWeb/FSpot.Exporters.PicasaWeb.csproj b/src/Extensions/Exporters/FSpot.Exporters.PicasaWeb/FSpot.Exporters.PicasaWeb.csproj
index 42eec16..897498f 100644
--- a/src/Extensions/Exporters/FSpot.Exporters.PicasaWeb/FSpot.Exporters.PicasaWeb.csproj
+++ b/src/Extensions/Exporters/FSpot.Exporters.PicasaWeb/FSpot.Exporters.PicasaWeb.csproj
@@ -77,9 +77,6 @@
<Reference Include="Gnome.Keyring, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a73e1bde00c9b66">
</Reference>
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
- <Reference Include="gtk-sharp-beans">
- <HintPath>..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.dll</HintPath>
- </Reference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\..\lib\Hyena\Hyena\Hyena.csproj">
@@ -102,5 +99,9 @@
<Project>{40C7D4EA-FB93-49FE-B18F-700A28C3E670}</Project>
<Name>Mono.Google</Name>
</ProjectReference>
+ <ProjectReference Include="..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.csproj">
+ <Project>{069D1797-427D-4CED-A754-233DE64FC5DD}</Project>
+ <Name>gtk-sharp-beans</Name>
+ </ProjectReference>
</ItemGroup>
</Project>
diff --git a/src/Extensions/Exporters/FSpot.Exporters.SmugMug/FSpot.Exporters.SmugMug.csproj b/src/Extensions/Exporters/FSpot.Exporters.SmugMug/FSpot.Exporters.SmugMug.csproj
index 2a99c6f..2733001 100644
--- a/src/Extensions/Exporters/FSpot.Exporters.SmugMug/FSpot.Exporters.SmugMug.csproj
+++ b/src/Extensions/Exporters/FSpot.Exporters.SmugMug/FSpot.Exporters.SmugMug.csproj
@@ -84,6 +84,10 @@
<Project>{57EDC3BC-E777-4400-B4E7-32A5D8F15A76}</Project>
<Name>FSpot.Core</Name>
</ProjectReference>
+ <ProjectReference Include="..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.csproj">
+ <Project>{069D1797-427D-4CED-A754-233DE64FC5DD}</Project>
+ <Name>gtk-sharp-beans</Name>
+ </ProjectReference>
</ItemGroup>
<ItemGroup>
<Reference Include="Gnome.Keyring, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a73e1bde00c9b66">
@@ -91,9 +95,6 @@
<Reference Include="System" />
<Reference Include="Mono.Posix" />
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
- <Reference Include="gtk-sharp-beans">
- <HintPath>..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.dll</HintPath>
- </Reference>
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\" />
diff --git a/src/Extensions/Exporters/FSpot.Exporters.Tabblo/FSpot.Exporters.Tabblo.csproj b/src/Extensions/Exporters/FSpot.Exporters.Tabblo/FSpot.Exporters.Tabblo.csproj
index 1c84ce7..2ca844f 100644
--- a/src/Extensions/Exporters/FSpot.Exporters.Tabblo/FSpot.Exporters.Tabblo.csproj
+++ b/src/Extensions/Exporters/FSpot.Exporters.Tabblo/FSpot.Exporters.Tabblo.csproj
@@ -72,9 +72,6 @@
<Reference Include="Mono.Posix" />
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="Gnome.Keyring, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a73e1bde00c9b66" />
- <Reference Include="gtk-sharp-beans">
- <HintPath>..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.dll</HintPath>
- </Reference>
<Reference Include="gio-sharp">
<HintPath>..\..\..\..\lib\gio-sharp\gio\gio-sharp.dll</HintPath>
<Package>gio-sharp-2.0</Package>
@@ -101,6 +98,10 @@
<Project>{57EDC3BC-E777-4400-B4E7-32A5D8F15A76}</Project>
<Name>FSpot.Core</Name>
</ProjectReference>
+ <ProjectReference Include="..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.csproj">
+ <Project>{069D1797-427D-4CED-A754-233DE64FC5DD}</Project>
+ <Name>gtk-sharp-beans</Name>
+ </ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\" />
diff --git a/src/Extensions/Exporters/FSpot.Exporters.Zip/FSpot.Exporters.Zip.csproj b/src/Extensions/Exporters/FSpot.Exporters.Zip/FSpot.Exporters.Zip.csproj
index 4da5264..fddfe09 100644
--- a/src/Extensions/Exporters/FSpot.Exporters.Zip/FSpot.Exporters.Zip.csproj
+++ b/src/Extensions/Exporters/FSpot.Exporters.Zip/FSpot.Exporters.Zip.csproj
@@ -74,15 +74,16 @@
<Project>{57EDC3BC-E777-4400-B4E7-32A5D8F15A76}</Project>
<Name>FSpot.Core</Name>
</ProjectReference>
+ <ProjectReference Include="..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.csproj">
+ <Project>{069D1797-427D-4CED-A754-233DE64FC5DD}</Project>
+ <Name>gtk-sharp-beans</Name>
+ </ProjectReference>
</ItemGroup>
<ItemGroup>
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="Mono.Posix" />
<Reference Include="ICSharpCode.SharpZipLib" />
<Reference Include="System" />
- <Reference Include="gtk-sharp-beans">
- <HintPath>..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.dll</HintPath>
- </Reference>
<Reference Include="gio-sharp">
<HintPath>..\..\..\..\lib\gio-sharp\gio\gio-sharp.dll</HintPath>
<Package>gio-sharp-2.0</Package>
diff --git a/src/Extensions/Tools/FSpot.Tools.ChangePhotoPath/FSpot.Tools.ChangePhotoPath.csproj b/src/Extensions/Tools/FSpot.Tools.ChangePhotoPath/FSpot.Tools.ChangePhotoPath.csproj
index d444c4b..4eb64c4 100644
--- a/src/Extensions/Tools/FSpot.Tools.ChangePhotoPath/FSpot.Tools.ChangePhotoPath.csproj
+++ b/src/Extensions/Tools/FSpot.Tools.ChangePhotoPath/FSpot.Tools.ChangePhotoPath.csproj
@@ -62,9 +62,6 @@
<ItemGroup>
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="System" />
- <Reference Include="gtk-sharp-beans">
- <HintPath>..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.dll</HintPath>
- </Reference>
<Reference Include="gio-sharp">
<HintPath>..\..\..\..\lib\gio-sharp\gio\gio-sharp.dll</HintPath>
<Package>gio-sharp-2.0</Package>
@@ -91,6 +88,10 @@
<Project>{CE160879-1BF0-4711-A18F-FDA2772900FA}</Project>
<Name>FSpot.Utils</Name>
</ProjectReference>
+ <ProjectReference Include="..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.csproj">
+ <Project>{069D1797-427D-4CED-A754-233DE64FC5DD}</Project>
+ <Name>gtk-sharp-beans</Name>
+ </ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="FSpot.Tools.ChangePhotoPath\" />
diff --git a/src/Extensions/Tools/FSpot.Tools.DevelopInUFraw/FSpot.Tools.DevelopInUFraw.csproj b/src/Extensions/Tools/FSpot.Tools.DevelopInUFraw/FSpot.Tools.DevelopInUFraw.csproj
index a229a7d..465f707 100644
--- a/src/Extensions/Tools/FSpot.Tools.DevelopInUFraw/FSpot.Tools.DevelopInUFraw.csproj
+++ b/src/Extensions/Tools/FSpot.Tools.DevelopInUFraw/FSpot.Tools.DevelopInUFraw.csproj
@@ -77,6 +77,10 @@
<Project>{CE160879-1BF0-4711-A18F-FDA2772900FA}</Project>
<Name>FSpot.Utils</Name>
</ProjectReference>
+ <ProjectReference Include="..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.csproj">
+ <Project>{069D1797-427D-4CED-A754-233DE64FC5DD}</Project>
+ <Name>gtk-sharp-beans</Name>
+ </ProjectReference>
</ItemGroup>
<ItemGroup>
<Reference Include="Mono.Posix" />
@@ -85,8 +89,5 @@
<HintPath>..\..\..\..\lib\gio-sharp\gio\gio-sharp.dll</HintPath>
<Package>gio-sharp-2.0</Package>
</Reference>
- <Reference Include="gtk-sharp-beans">
- <HintPath>..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.dll</HintPath>
- </Reference>
</ItemGroup>
</Project>
\ No newline at end of file
diff --git a/src/Extensions/Tools/FSpot.Tools.LiveWebGallery/FSpot.Tools.LiveWebGallery.csproj b/src/Extensions/Tools/FSpot.Tools.LiveWebGallery/FSpot.Tools.LiveWebGallery.csproj
index 95c886b..def9c8c 100644
--- a/src/Extensions/Tools/FSpot.Tools.LiveWebGallery/FSpot.Tools.LiveWebGallery.csproj
+++ b/src/Extensions/Tools/FSpot.Tools.LiveWebGallery/FSpot.Tools.LiveWebGallery.csproj
@@ -83,9 +83,6 @@
<Reference Include="Mono.Posix" />
<Reference Include="System" />
<Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
- <Reference Include="gtk-sharp-beans">
- <HintPath>..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.dll</HintPath>
- </Reference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Clients\MainApp\MainApp.csproj">
@@ -104,5 +101,9 @@
<Project>{CE160879-1BF0-4711-A18F-FDA2772900FA}</Project>
<Name>FSpot.Utils</Name>
</ProjectReference>
+ <ProjectReference Include="..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.csproj">
+ <Project>{069D1797-427D-4CED-A754-233DE64FC5DD}</Project>
+ <Name>gtk-sharp-beans</Name>
+ </ProjectReference>
</ItemGroup>
</Project>
\ No newline at end of file
diff --git a/src/Extensions/Tools/FSpot.Tools.MergeDb/FSpot.Tools.MergeDb.csproj b/src/Extensions/Tools/FSpot.Tools.MergeDb/FSpot.Tools.MergeDb.csproj
index 45c8479..31b4963 100644
--- a/src/Extensions/Tools/FSpot.Tools.MergeDb/FSpot.Tools.MergeDb.csproj
+++ b/src/Extensions/Tools/FSpot.Tools.MergeDb/FSpot.Tools.MergeDb.csproj
@@ -87,6 +87,10 @@
<Project>{CE160879-1BF0-4711-A18F-FDA2772900FA}</Project>
<Name>FSpot.Utils</Name>
</ProjectReference>
+ <ProjectReference Include="..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.csproj">
+ <Project>{069D1797-427D-4CED-A754-233DE64FC5DD}</Project>
+ <Name>gtk-sharp-beans</Name>
+ </ProjectReference>
</ItemGroup>
<ItemGroup>
<Reference Include="Mono.Posix" />
@@ -95,9 +99,6 @@
<HintPath>..\..\..\..\lib\gio-sharp\gio\gio-sharp.dll</HintPath>
<Package>gio-sharp-2.0</Package>
</Reference>
- <Reference Include="gtk-sharp-beans">
- <HintPath>..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.dll</HintPath>
- </Reference>
</ItemGroup>
<ItemGroup>
<Folder Include="FSpot.Tools.MergeDb\" />
diff --git a/src/Extensions/Tools/FSpot.Tools.ScreensaverConfig/FSpot.Tools.ScreensaverConfig.csproj b/src/Extensions/Tools/FSpot.Tools.ScreensaverConfig/FSpot.Tools.ScreensaverConfig.csproj
index b91224e..d6e8ce7 100644
--- a/src/Extensions/Tools/FSpot.Tools.ScreensaverConfig/FSpot.Tools.ScreensaverConfig.csproj
+++ b/src/Extensions/Tools/FSpot.Tools.ScreensaverConfig/FSpot.Tools.ScreensaverConfig.csproj
@@ -59,9 +59,6 @@
</ProjectExtensions>
<ItemGroup>
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
- <Reference Include="gtk-sharp-beans">
- <HintPath>..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.dll</HintPath>
- </Reference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Core\FSpot.Core\FSpot.Core.csproj">
@@ -76,6 +73,10 @@
<Project>{05A7FEC4-974A-40EB-AFB8-14E523EEEFFB}</Project>
<Name>FSpot.Gui</Name>
</ProjectReference>
+ <ProjectReference Include="..\..\..\..\lib\gtk-sharp-beans\gtk-sharp-beans.csproj">
+ <Project>{069D1797-427D-4CED-A754-233DE64FC5DD}</Project>
+ <Name>gtk-sharp-beans</Name>
+ </ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="FSpot.Tools.ScreensaverConfig\" />
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]