Eliminate some more warnings and hide less warnings in VS

This commit is contained in:
Berke Viktor
2012-11-10 18:26:45 +01:00
parent 584b89bb02
commit ed970381fb
8 changed files with 53 additions and 28 deletions

View File

@@ -837,9 +837,12 @@ setup_hscale_cb (GtkHScale *wid, const setting *set)
{
static int tag = 0;
setup_set_int (&setup_prefs, set, gtk_range_get_value(GTK_RANGE(wid)));
if(tag == 0)
tag = g_idle_add ((GSourceFunc)setup_apply_tint, &tag);
setup_set_int (&setup_prefs, set, (int) gtk_range_get_value (GTK_RANGE (wid)));
if (tag == 0)
{
tag = g_idle_add ((GSourceFunc) setup_apply_tint, &tag);
}
}
static void