From 92a20fc7c58c01ada78e0482fd539890c489b0ae Mon Sep 17 00:00:00 2001 From: Evan Nemerson Date: Mon, 18 Jun 2012 15:59:08 -0700 Subject: [PATCH 3/4] 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. --- libcolord-gtk/Makefile.am | 2 +- libcolord-gtk/cd-sample-window.c | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/libcolord-gtk/Makefile.am b/libcolord-gtk/Makefile.am index b631f48..3231113 100644 --- a/libcolord-gtk/Makefile.am +++ b/libcolord-gtk/Makefile.am @@ -78,7 +78,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 890dfd5..51823af 100644 --- a/libcolord-gtk/cd-sample-window.c +++ b/libcolord-gtk/cd-sample-window.c @@ -58,7 +58,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. **/ @@ -91,9 +91,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. **/ -- 1.7.10.2