Fix compiler warnings.

This commit is contained in:
Carlos Garnacho 2010-12-01 01:19:24 +01:00
parent cf0bd12e6c
commit 901af8fec8
2 changed files with 3 additions and 3 deletions

View File

@ -1366,8 +1366,8 @@ gtk_css_provider_get_style_property (GtkStyleProvider *provider,
if (val &&
(info->state == 0 ||
info->state == state ||
(info->state & state) != 0 &&
(info->state & ~(state)) == 0))
((info->state & state) != 0 &&
(info->state & ~(state)) == 0)))
{
const gchar *val_str;

View File

@ -3275,7 +3275,7 @@ gtk_icon_info_load_symbolic_for_context (GtkIconInfo *icon_info,
GdkPixbuf *pixbuf;
GdkRGBA *color = NULL;
GdkRGBA rgba;
gchar *css_fg, *css_success;
gchar *css_fg = NULL, *css_success;
gchar *css_warning, *css_error;
GtkStateFlags state;