summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Nemerson <evan@coeus-group.com>2012-06-18 15:59:08 -0700
committerRichard Hughes <richard@hughsie.com>2012-06-26 12:11:50 +0100
commit1ec837d31649675ee682f6d6b09a1999b270bb54 (patch)
tree36cab3194adce59e116bc1b60519d088355651b3
parentc212fd3ceb7e6edcb833e3b0bd43bc5ad7b894b3 (diff)
downloadcolord-gtk-1ec837d31649675ee682f6d6b09a1999b270bb54.tar.gz
introspection: assorted colord-gtk introspection fixes
Scan the C files, change the prefix to "cd", and clean up some warnings emitted when --warn-all is passed. Signed-off-by: Richard Hughes <richard@hughsie.com>
-rw-r--r--libcolord-gtk/Makefile.am2
-rw-r--r--libcolord-gtk/cd-sample-window.c6
2 files changed, 3 insertions, 5 deletions
diff --git a/libcolord-gtk/Makefile.am b/libcolord-gtk/Makefile.am
index 32ea122..49ff89f 100644
--- a/libcolord-gtk/Makefile.am
+++ b/libcolord-gtk/Makefile.am
@@ -81,7 +81,7 @@ CLEANFILES = $(BUILT_SOURCES)
if HAVE_INTROSPECTION
introspection_sources = \
- $(libcolordgtk_la_SOURCES) \
+ $(libcolord_gtk_la_SOURCES) \
$(libcolordgtkbase_include_HEADERS)
ColordGtk-1.0.gir: libcolord-gtk.la
diff --git a/libcolord-gtk/cd-sample-window.c b/libcolord-gtk/cd-sample-window.c
index 81f9667..0c32ffa 100644
--- a/libcolord-gtk/cd-sample-window.c
+++ b/libcolord-gtk/cd-sample-window.c
@@ -59,7 +59,7 @@ cd_sample_window_pulse_cb (CdSampleWindow *sample_window)
/**
* cd_sample_window_set_fraction:
* @sample_window: a valid #CdSampleWindow instance
- * @percentage: the fraction value to show, or -1 for pulsing.
+ * @fraction: the fraction value to show, or -1 for pulsing.
*
* Sets the percentage value on the window.
**/
@@ -92,9 +92,7 @@ cd_sample_window_set_fraction (CdSampleWindow *sample_window,
/**
* cd_sample_window_set_color:
* @sample_window: a valid #CdSampleWindow instance
- * @red: the red color value
- * @green: the green color value
- * @blue: the blue color value
+ * @color: the color
*
* Sets the window to a specific color.
**/