aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/prop.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/prop.c')
-rw-r--r--calendar/gui/prop.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/calendar/gui/prop.c b/calendar/gui/prop.c
index f0809a45dc..fe8e52fe23 100644
--- a/calendar/gui/prop.c
+++ b/calendar/gui/prop.c
@@ -87,11 +87,14 @@ prop_apply_colors (void)
{
int i;
char *cspec;
+ gushort r, g, b;
for (i = 0; i < COLOR_PROP_LAST; i++) {
- gnome_color_picker_get_i16 (GNOME_COLOR_PICKER (color_pickers[i]),
- &color_props[i].r, &color_props[i].g, &color_props[i].b, NULL);
-
+ gnome_color_picker_get_i16 (GNOME_COLOR_PICKER (color_pickers[i]), &r, &g, &b, NULL);
+ color_props[i].r = r;
+ color_props[i].g = g;
+ color_props[i].b = b;
+
cspec = build_color_spec (color_props[i].r, color_props[i].g, color_props[i].b);
gnome_config_set_string (color_props[i].key, cspec);
}
@@ -338,7 +341,7 @@ canvas_size_allocate (GtkWidget *widget, GtkAllocation *allocation, gpointer dat
static char *
color_spec_from_picker (int num)
{
- int r, g, b;
+ gushort r, g, b;
gnome_color_picker_get_i16 (GNOME_COLOR_PICKER (color_pickers[num]), &r, &g, &b, NULL);
+1 * SHA256ifyedwin2006-02-011-0/+1 * Move instant messaging related ports to newly created net-im category:pav2005-11-091-2/+2 * SIZEify (maintainer timeout)trevor2004-03-311-0/+1 * Use PLIST_FILES (bento-tested, marcus-reviewed).trevor2004-02-062-1/+1 * Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1 * Update various URLs that no longer resolve or are useful.seanc2003-10-181-1/+1 * Clear moonlight beckons.ade2003-03-072-1/+1 * Updating maintainer e-mail addressseanc2002-09-051-2/+2 a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/shells?h=gnome-3.28&id=091caf4661b26a5f70d9b8e0409821418f5afdbb'>Fix every instance of RUN_DEPENDS:=${BUILD_DEPENDS} in p5 ports, exceptdes2018-10-063-6/+6 * The old tests are no longer available. Remove them.cy2018-09-271-3/+0 * Update to the latest att/ast github commit.cy2018-09-263-10/+10 * Update to the latest att/ast github commit.cy2018-09-232-5/+5 * As ksh93 is the real ksh devleoped by AT&T, git the user the optioncy2018-09-233-4/+19 * Upgrade to 0.7.9beat2018-09-212-4/+4 * Register a conflict with the new ksh93-devel port.cy2018-09-211-0/+2 * Remove redundant options.cy2018-09-211-2/+0 * Introducing the new ksh93-devel port, tracking att/ast developmentcy2018-09-216-0/+100 * shells/ksh93: Update reason for aarch64 broken messagemanu2018-09-181-1/+1 * shells/xonsh: Upgrade to version 0.7.80mp2018-09-154-14/+22 * Update to 5.6.2bapt2018-09-152-6/+6 * - Update to 0.5.10.2 [1]bdrewery2018-09-142-6/+8 * update to 5.6.1bapt2018-09-113-6/+7 * Add EXAMPLES options to ports that should have one.mat2018-09-101-1/+1 * Add DOCS options to ports that should have one.mat2018-09-105-0/+10 * Update to 5.6bapt2018-09-054-22/+46 * shells/wcd: Update to 6.0.2dbaio2018-08-123-6/+6 * shells/mksh: update to R56cswills2018-08-072-4/+4 * Fix a common grammar error: "can not" means the opposite of "cannot."adamw2018-08-021-1/+1 * lang/ghc: Update to 8.4.3 and bump PORTREVISION's of all Haskell ports.arrowd2018-06-301-0/+1 * Use PY_FLAVOR for dependencies.mat2018-06-211-1/+1 * New port: shells/zsh-antigentobik2018-06-185-0/+41 * Add FREEBSD option (enabled by default)sunpoet2018-06-064-5/+24 * New port shells/biconcpm2018-06-038-0/+181 * - Update to 4.4.23ehaupt2018-06-022-3/+11 * Update to 3.01gknu2018-06-022-3/+4 * Update WWWsunpoet2018-05-285-5/+5 * Update lang/ghc 8.4.2 and the hs-* ports the newer versionstcberner2018-05-262-6/+5 * Remove redundant PKGMESSAGE assignment, which is set appropriatelydanfe2018-05-061-1/+0 * Update to 2.1.4krion2018-05-052-5/+5 * Update to 5.5.1bapt2018-04-174-17/+7 * Update to zsh 5.5bapt2018-04-105-36/+76 * shells/oksh: Update to 20180401tobik2018-04-062-4/+4 * Add PORTSCOUTsunpoet2018-04-061-0/+2 * Support bash-static userssunpoet2018-03-251-3/+8 * Update to 2.8sunpoet2018-03-183-5/+24 * Bump PORTREVISIONs of all users of math/mpc that we just updated togerald2018-03-111-1/+1 * Add new port shells/envykrion2018-03-074-0/+38 * - Add LICENSEamdmi32018-02-252-1/+5 * Return pawel@'s ports to the pool after he resigned.rene2018-02-251-1/+1 * Reduce dependency on the python2 metaportantoine2018-02-191-1/+2 * Mark BROKEN_armv6 and BROKEN_armv7sunpoet2018-02-191-0/+3 * - Update to patchlevel 19ehaupt2018-02-102-4/+18 * Switch C compiler used to compile GHC to base Clang.tcberner2018-02-101-0/+1 * Remove expired ports:rene2018-01-285-63/+0 * shells/fish: fix the build with Clang-6.0asomers2018-01-281-0/+11 * New port: shells/okshtobik2018-01-125-0/+31 * Set LLD_UNSAFE=yes that the port will continue to link with ld.bfdkrion2018-01-081-0/+1 * Update {BUILD,RUN}_DEPENDS: remove deprecated p5-Test-Blocksunpoet2018-01-061-5/+4 * Add LICENSEsunpoet2018-01-011-0/+4 * Deprecate ports broken for more than 6 monthsantoine2017-12-271-0/+2 * Remove BROKEN_sparc64 statement which was originally added in r397891 bydanfe2017-12-181-1/+0 * shells/fish: fix 2.7.0 build for arm and arm64asomers2017-12-131-0/+11 * shells/fish: Upgrade to 2.7.0asomers2017-12-125-65/+40 * comms/mlan3 shells/fish: annotate conflictsasomers2017-12-051-0/+2 * Convert Python ports to FLAVORS.mat2017-11-303-3/+3 * shells/xonsh: Update to 0.6.0dbaio2017-11-242-4/+4 * Update to version 6.0.1pawel2017-11-033-4/+8 * Provide an option to enable system-wide rc files.ehaupt2017-10-291-2/+8 * Fix diff -u completionbapt2017-10-022-0/+10 * xonsh is a Python-ish, BASHwards-looking shell language and command prompt.matthew2017-09-22