rem: if (g_file_test (filename, G_FILE_TEST_EXISTS) == TRUE)
add: if (g_file_test (filename, G_FILE_TEST_EXISTS) != FALSE)
context: on_take_screenshot1_activate (GtkButton *button, Totem *totem){	GdkPixbuf *pixbuf, *scaled;	GtkWidget *dialog, *image, *entry;	int response, width, height;	char *filename;	GError *err = NULL;	if (bacon_video_widget_can_get_frames (totem->bvw, &err) == FALSE)	{		char *msg;		if (err == NULL)			return;		msg = g_strdup_printf (_("Totem could not get a screenshot of that film.\nReason: %s."), err->message);		g_error_free (err);		totem_action_error (msg, totem);		g_free (msg);		return;	}	pixbuf = bacon_video_widget_get_current_frame (totem->bvw);	if (pixbuf == NULL)	{		totem_action_error (_("Totem could not get a screenshot of that film.\nPlease file a bug, this isn't supposed to happen"), totem);		return;	}	filename = screenshot_make_filename (totem);	height = 200;	width = height * gdk_pixbuf_get_width (pixbuf)		/ gdk_pixbuf_get_height (pixbuf);	scaled = gdk_pixbuf_scale_simple (pixbuf, width, height,			GDK_INTERP_BILINEAR);	dialog = glade_xml_get_widget (totem->xml, "totem_screenshot_window");	image = glade_xml_get_widget (totem->xml, "tsw_shot_image");	gtk_image_set_from_pixbuf (GTK_IMAGE (image), scaled);	gdk_pixbuf_unref (scaled);	entry = glade_xml_get_widget (totem->xml, "tsw_save2file_combo_entry");	gtk_entry_set_text (GTK_ENTRY (entry), filename);	g_free (filename);	response = gtk_dialog_run (GTK_DIALOG (dialog));	gtk_widget_hide (dialog);	if (response == GTK_RESPONSE_OK)	{		filename = screenshot_make_filename (totem);		if (g_file_test (filename, G_FILE_TEST_EXISTS) == TRUE)		{			totem_action_error (_("File '%s' already exists.\nThe screenshot was not saved."), totem);			gdk_pixbuf_unref (pixbuf);			g_free (filename);			return;		}		if (gdk_pixbuf_save (pixbuf, filename, "png", &err, NULL)				== FALSE)		{			char *msg;			msg = g_strdup_printf (_("There was an error saving the screenshot.\nDetails: %s"), err->message);			totem_action_error (msg, totem);			g_free (msg);			g_error_free (err);		}		g_free (filename);	}	gdk_pixbuf_unref (pixbuf);}