Mercurial > pidgin
comparison src/gtkprefs.c @ 5627:19a848d76372
[gaim-migrate @ 6034]
C99 let us get lazy
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 01 Jun 2003 04:11:24 +0000 |
parents | 73c9dc20e41a |
children | 960fe32ea9b7 |
comparison
equal
deleted
inserted
replaced
5626:6275ac113622 | 5627:19a848d76372 |
---|---|
674 | 674 |
675 static void update_color(GtkWidget *w, GtkWidget *pic) | 675 static void update_color(GtkWidget *w, GtkWidget *pic) |
676 { | 676 { |
677 GdkColor c; | 677 GdkColor c; |
678 GtkStyle *style; | 678 GtkStyle *style; |
679 GdkColor color; | |
680 | |
679 c.pixel = 0; | 681 c.pixel = 0; |
680 GdkColor color; | |
681 | 682 |
682 if (pic == pref_fg_picture) { | 683 if (pic == pref_fg_picture) { |
683 if (gaim_prefs_get_bool("/gaim/gtk/conversations/use_custom_fgcolor")) { | 684 if (gaim_prefs_get_bool("/gaim/gtk/conversations/use_custom_fgcolor")) { |
684 gdk_color_parse(gaim_prefs_get_string("/gaim/gtk/conversations/fgcolor"), | 685 gdk_color_parse(gaim_prefs_get_string("/gaim/gtk/conversations/fgcolor"), |
685 &color); | 686 &color); |