summaryrefslogtreecommitdiff
path: root/ElmSharp
diff options
context:
space:
mode:
Diffstat (limited to 'ElmSharp')
-rw-r--r--ElmSharp/ElmSharp/Widget.cs2
-rw-r--r--ElmSharp/Interop/Interop.Elementary.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/ElmSharp/ElmSharp/Widget.cs b/ElmSharp/ElmSharp/Widget.cs
index 1bca2a0..38b88cc 100644
--- a/ElmSharp/ElmSharp/Widget.cs
+++ b/ElmSharp/ElmSharp/Widget.cs
@@ -121,7 +121,7 @@ namespace ElmSharp
public void SetPartColor(string part, Color color)
{
- Interop.Elementary.elm_object_part_color_set(Handle, part, color.R, color.G, color.B, color.A);
+ Interop.Elementary.elm_object_color_class_color_set(Handle, part, color.R, color.G, color.B, color.A);
}
internal IntPtr GetPartContent(string part)
diff --git a/ElmSharp/Interop/Interop.Elementary.cs b/ElmSharp/Interop/Interop.Elementary.cs
index 970e4b7..91438b7 100644
--- a/ElmSharp/Interop/Interop.Elementary.cs
+++ b/ElmSharp/Interop/Interop.Elementary.cs
@@ -144,7 +144,7 @@ internal static partial class Interop
}
[DllImport(Libraries.Elementary)]
- internal static extern void elm_object_part_color_set(IntPtr obj, string part, int r, int g, int b, int a);
+ internal static extern void elm_object_color_class_color_set(IntPtr obj, string colorClass, int r, int g, int b, int a);
[DllImport(Libraries.Elementary)]
internal static extern void elm_object_part_text_set(IntPtr obj, string part, string text);