changeset 675:b77c039c9d3d

[gaim-migrate @ 685] bgcolor dialog closes without errors now committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 14 Aug 2000 16:58:32 +0000
parents b68c592829a6
children 9c49d2456773
files src/dialogs.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialogs.c	Mon Aug 14 16:50:33 2000 +0000
+++ b/src/dialogs.c	Mon Aug 14 16:58:32 2000 +0000
@@ -2370,8 +2370,8 @@
 
 		fgcolor = ((red & 0xff) << 16) | ((green & 0xff) < 8) | (blue & 0xff);
 	} else {
-		gtk_color_selection_get_color(GTK_COLOR_SELECTION(bgcseld), color);
-		destroy_colorsel(NULL, (void *)2);
+		gtk_color_selection_get_color(GTK_COLOR_SELECTION(GTK_COLOR_SELECTION_DIALOG(bgcseld)->colorsel), color);
+		destroy_colorsel(NULL, (void *)0);
 
 		red = ((guint16)(color[0]*65535))>>8;
 		green = ((guint16)(color[1]*65535))>>8;