summaryrefslogtreecommitdiff
path: root/gtk/gtkcolorbutton.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-10-23 23:02:40 +0200
committerMatthias Clasen <mclasen@redhat.com>2010-10-23 23:41:08 +0200
commit520a6aeb8ff06217373b9f567578850cb3598106 (patch)
tree5f2f103c1c0de93eb5124d9ce2198e16ee0b914b /gtk/gtkcolorbutton.c
parentd7653e7c0cffc64ccc82edadc5b3c12d8129cd73 (diff)
downloadgtk+-520a6aeb8ff06217373b9f567578850cb3598106.tar.gz
Fix up docs
Diffstat (limited to 'gtk/gtkcolorbutton.c')
-rw-r--r--gtk/gtkcolorbutton.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk/gtkcolorbutton.c b/gtk/gtkcolorbutton.c
index 9548280010..2e2214f85b 100644
--- a/gtk/gtkcolorbutton.c
+++ b/gtk/gtkcolorbutton.c
@@ -537,6 +537,16 @@ gtk_color_button_new_with_color (const GdkColor *color)
return g_object_new (GTK_TYPE_COLOR_BUTTON, "color", color, NULL);
}
+/**
+ * gtk_color_button_new_with_rgba:
+ * @rgba: A #GdkRGBA to set the current color with.
+ *
+ * Creates a new color button.
+ *
+ * Returns: a new color button
+ *
+ * Since: 3.0
+ */
GtkWidget *
gtk_color_button_new_with_rgba (const GdkRGBA *rgba)
{