aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2007-04-11 15:17:19 +0000
committerRob Bradford <rob@linux.intel.com>2007-04-11 15:17:19 +0000
commitba224b7791d4266375bf154b637ab672b77964ad (patch)
tree748b8ef23da1f07db16ed3cf27aa4e9ecb0b3d0e
parent10aaf66f7b76b0a0e626497313b4758aac134487 (diff)
downloadlibowl-ba224b7791d4266375bf154b637ab672b77964ad.tar.gz
libowl-ba224b7791d4266375bf154b637ab672b77964ad.tar.bz2
libowl-ba224b7791d4266375bf154b637ab672b77964ad.zip
2007-04-11 Rob Bradford <rob@openedhand.com>
* libowl/owlcolourselectordialog.c: (owl_colour_selector_dialog_init): Fix compiler warning.
-rw-r--r--ChangeLog6
-rw-r--r--libowl/owlcolourselectordialog.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b663fa..f91a82d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2007-04-11 Rob Bradford <rob@openedhand.com>
+ * libowl/owlcolourselectordialog.c:
+ (owl_colour_selector_dialog_init):
+ Fix compiler warning.
+
+2007-04-11 Rob Bradford <rob@openedhand.com>
+
* libowl/owlcolourselectordialog.c: (colour_selected_cb):
* libowl/owlcolourswatch.c: (owl_colour_swatch_set_colour):
Remove superfluous printfs.
diff --git a/libowl/owlcolourselectordialog.c b/libowl/owlcolourselectordialog.c
index f5582eb..75cb130 100644
--- a/libowl/owlcolourselectordialog.c
+++ b/libowl/owlcolourselectordialog.c
@@ -248,7 +248,7 @@ owl_colour_selector_dialog_init (OwlColourSelectorDialog *self)
OwlColourSelectorDialogPrivate *priv = COLOUR_SELECTOR_DIALOG_PRIVATE (self);
palette = owl_colour_palette_new (6, 4);
- owl_colour_palette_set_colours (OWL_COLOUR_PALETTE (palette), colours, 24);
+ owl_colour_palette_set_colours (OWL_COLOUR_PALETTE (palette), (guint32 *)colours, 24);
g_signal_connect (palette, "colour-selected", (GCallback)colour_selected_cb, self);
frame = gtk_frame_new (NULL);